2,613 questions with VB-related tags

Sort by: Updated
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,613 questions
asked 2020-12-01T17:29:03.407+00:00
jenCarlos 141 Reputation points
commented 2020-12-02T17:03:51.31+00:00
RLWA32 41,456 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,613 questions
asked 2020-12-02T10:53:42.193+00:00
~OSD~ 2,131 Reputation points
answered 2020-12-02T15:03:29.717+00:00
~OSD~ 2,131 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,613 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,613 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,201 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,613 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,613 questions
asked 2020-11-30T11:17:09.367+00:00
~OSD~ 2,131 Reputation points
commented 2020-11-30T15:14:02.197+00:00
~OSD~ 2,131 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,613 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,613 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,201 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,613 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,135 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,613 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,201 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,613 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.
333 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,306 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,482 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,613 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,331 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,613 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,071 Reputation points