2,579 questions with VB-related tags

Sort by: Updated
3 answers

Progress bar based on exe running process on task manager

Hi Everyone, I tried to code for progress bar based on running .exe file on the task manager. If the file run, the progress bar will appear and when it done, the progress bar will finish. Thank You very much for your help and answer Best Regard …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,623 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,579 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
970 questions
asked 2020-12-02T07:56:23.947+00:00
M Indra Ruslan 241 Reputation points
commented 2020-12-04T09:33:35.98+00:00
Viorel 112.5K Reputation points
2 answers

getting just profile name from profile path

Hi I have a list of profile paths, and I want to remove the c:\users\ and just keep the profile name Things to consider - if run on a computer with a different language then I assume it is not always called c:\users\ The list of profiles are not…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,579 questions
asked 2020-12-03T21:15:44.847+00:00
Darren Rose 281 Reputation points
answered 2020-12-03T21:49:56.543+00:00
Darren Rose 281 Reputation points
5 answers One of the answers was accepted by the question author.

How to auto calculate two rows into third one in datagridview table who uses access database

I insert Access database into Visual Studio Basic. I have put datagridview on the form who uses same database. What i am ask is: How to auto calculate one of the row cell as product of another two, within same datagridview, same database. When you enter…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,579 questions
asked 2020-12-02T17:51:10.327+00:00
DRGAGI 146 Reputation points
commented 2020-12-03T20:44:29.6+00:00
Karen Payne MVP 35,036 Reputation points
5 answers One of the answers was accepted by the question author.

Special variables declarion and saving output in vb.net

Hi, I am using following code but stuck with variable declaration %UserName% and saving output in text file with ">" Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim get_AppxList As New…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,395 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,579 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,381 questions
asked 2020-12-01T11:56:06.183+00:00
~OSD~ 2,126 Reputation points
accepted 2020-12-03T10:35:52.417+00:00
~OSD~ 2,126 Reputation points
1 answer

Datagridview as dataentry facing issue

Hi, Please I am using following code in vb.net in order to move datagridview cursor to move to next cell upon enter key, I am facing problem that when cell reached to last column upon enter its insert new row into datagridview before first row which is…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,579 questions
asked 2020-12-02T02:37:15.043+00:00
Malik Asad Mahmood 126 Reputation points
answered 2020-12-03T07:36:08.313+00:00
Xingyu Zhao-MSFT 5,356 Reputation points
3 answers

Getting a list of user profile paths on a computer

Hi I am trying to obtain a list of all user profile paths on a machine - just those which are real users so excluding ones like default, public, network services etc I can do it successfully by iterating HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,579 questions
asked 2020-12-02T14:48:58.73+00:00
Darren Rose 281 Reputation points
commented 2020-12-02T20:28:02.23+00:00
Castorix31 81,741 Reputation points
4 answers One of the answers was accepted by the question author.

Get selected files from the desktop

Hello Programmers ... Is there a way to get the dynamically selected file or folder paths from the windows 7 desktop? And the result, I would like to show them in a ListBox1 control. Yes, it's an example, it would be great. I await your prompt…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,579 questions
asked 2020-12-01T17:29:03.407+00:00
jenCarlos 141 Reputation points
commented 2020-12-02T17:03:51.31+00:00
RLWA32 40,651 Reputation points
4 answers One of the answers was accepted by the question author.

File copy to directory when dir name is not available

Hi, I would like to copy a file (MyFile.txt) to multiple directories with a dynamically created names. In other words, I know the ParentDirectory name but not the child directories as shown in screenshot. There may be sub-directories under…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,579 questions
asked 2020-12-02T10:53:42.193+00:00
~OSD~ 2,126 Reputation points
answered 2020-12-02T15:03:29.717+00:00
~OSD~ 2,126 Reputation points
1 answer One of the answers was accepted by the question author.

Opening a specific folder from VB

Hi I am trying to open a specified folder location from VB I am using Process.Start("C:\temp") as example and this works fine But some of the paths I want to open won't work in same way e.g. Process.Start("%WINDIR%\Installer")…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,579 questions
asked 2020-12-01T21:43:50.977+00:00
Darren Rose 281 Reputation points
commented 2020-12-01T21:53:47.787+00:00
Darren Rose 281 Reputation points
4 answers One of the answers was accepted by the question author.

How can I make the first letter of every word to uppercase, In Visual Basic

Hi Great People I am trying to make the first letter of each word in a textbox to Uppercase Maybe using Keypress Event, or Keydown event. Lets say a user types in textbox1 (mickey m mouse) the result I require is (Mickey M Mouse) also there could be…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,579 questions
asked 2020-11-30T22:41:38.37+00:00
Gary Simpson 471 Reputation points
answered 2020-12-01T13:23:13.523+00:00
Karen Payne MVP 35,036 Reputation points
4 answers One of the answers was accepted by the question author.

VB.Net Streamreader

Good morning all. I have basic coding skills so please bear with me! I have created an application which writes a line of text to a file, simple enough. The line itself says xxxxxx | xxxxxx. Could someone tell how i extract the second part of that…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,579 questions
asked 2020-11-30T10:51:17.827+00:00
Simon Scott 306 Reputation points
answered 2020-12-01T09:24:13.747+00:00
Simon Scott 306 Reputation points
1 answer

VB.Net copy a directory to another directory

Hi, With following code, I am trying to copy a directory (_sPath) with all files and subdirectories to another folder (_dpath). Dim _sPath() As String = IO.Directory.GetDirectories(IO.Path.Combine("C:\Users", Environment.UserName,…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,579 questions
asked 2020-11-30T11:17:09.367+00:00
~OSD~ 2,126 Reputation points
commented 2020-11-30T15:14:02.197+00:00
~OSD~ 2,126 Reputation points
1 answer One of the answers was accepted by the question author.

Help logging into remote server

I need to create a program to restart 3 remote, non AD joined servers. Using VS2019 and I added the LoginForm to the project. Now I am lost. Can anybody point me in the right direction to collect a username and password and then pass that to a restart…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,579 questions
asked 2020-11-27T20:15:27.917+00:00
Dickman, Scott 21 Reputation points
accepted 2020-11-30T13:32:36.39+00:00
Dickman, Scott 21 Reputation points
1 answer

how can i use collectionindexint in vb.net

now i want use collectionindexint in vb.nte .for i moved a store product form oracle to sql service by ssma. the parameter of produce is user define table .by ssma ,it changed to collectionindecint. how can i use it in vb.net

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,579 questions
asked 2020-11-27T08:11:54.343+00:00
NorthBigFish 21 Reputation points
answered 2020-11-30T12:34:40.763+00:00
Karen Payne MVP 35,036 Reputation points
1 answer One of the answers was accepted by the question author.

Cant find method DataGridView.ClearSelection(Int32, Int32, Boolean)

Hello, I am using VS VB.Net with .NET Framework 4.8. I want to clear the selection of all cells in a row of a DataGridView except for one cell. The .NET API Browser shows a method for that "ClearSelection(Int32, Int32, Boolean)". But with…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,579 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,125 questions
asked 2020-11-29T13:26:44.327+00:00
STL 21 Reputation points
commented 2020-11-29T14:56:33.223+00:00
STL 21 Reputation points
4 answers One of the answers was accepted by the question author.

Push Shared Property value change to object instances Vb.Net

Hallo All, I have following code and i am trying to push the shared property change to another class object instances. I have a class setting with shared property language. I have another class Test where it takes this shared property. I want to…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,579 questions
asked 2020-11-25T19:36:42.213+00:00
Hobbyist_programmer 621 Reputation points
answered 2020-11-28T20:08:57.483+00:00
Karen Payne MVP 35,036 Reputation points
1 answer

Help with VB 2019 and Win Forms App .Net Framework

open-database-by-sql-server-dotnet-data-provider At the above link is what I'm following to learn how to connect a SQL server table to a VB 2019 form - creating a .Net Framework app. I'm stuck at Steps 2 under the section "Use Server…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,579 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
329 questions
asked 2020-11-26T22:24:15.27+00:00
Mohsin Jessa 1 Reputation point
answered 2020-11-27T08:55:01.667+00:00
Peter Fleischer (former MVP) 19,231 Reputation points
1 answer One of the answers was accepted by the question author.

Dataset Column Expression Math Error when using convert

OK, this has me stumped. I am just trying to round a column using an expression in datatable column. Here is a program that shows the behavior i am not expecting Dim T As New DataTable Dim Ty As System.Type Ty =…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,395 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,579 questions
asked 2020-11-20T17:11:50.57+00:00
Howard Arner 21 Reputation points
commented 2020-11-20T22:22:22.92+00:00
Howard Arner 21 Reputation points
2 answers

How to create a webhook listener in VB?

I want to use VB to create a webhook listener to consume messages from a service. The service does not have a listing in Nuget under Microsoft.AspNet.WebHooks.Receivers.*. The service requires an SSL certificate from an approved root authority. The…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,272 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,579 questions
asked 2020-11-18T21:34:22.777+00:00
Boruch Tkatch 141 Reputation points
commented 2020-11-20T08:54:40.787+00:00
Yijing Sun-MSFT 7,066 Reputation points