2,934 questions with Developer technologies | VB tags

Sort by: Updated
1 answer

Alternative for webBrowser control in WebView2

We have a VSTO addin for MS Project 2010/2013/2016/2019, where it imports/exports data from an external application and these pages are rendered in embedded Internet Explorer browser from MS Project. Since IE support will be ending in few years, we are…

Windows for business | Windows for IoT
Developer technologies | VB
Developer technologies | VB

An object-oriented programming language developed by Microsoft that can be used in .NET.

2,934 questions
asked 2022-03-06T18:31:21.37+00:00
Priyanka Songra 6 Reputation points
edited an answer 2026-07-25T13:00:49.97+00:00
Andrew Constant 0 Reputation points
1 answer

What is the best way to create controls for a list of items?

I am using VB.net and trying to create a windows forms application, part of which will display a list comprised of items from two groups. I have 2 groups of items. The first group contains 87 items and the second group contains around 20 items, which may…

Developer technologies | VB
Developer technologies | VB

An object-oriented programming language developed by Microsoft that can be used in .NET.

2,934 questions
asked 2026-07-23T08:01:09.4933333+00:00
Cynolycus 285 Reputation points
edited an answer 2026-07-24T09:59:13.7466667+00:00
Varsha Dundigalla(INFOSYS LIMITED) 5,185 Reputation points Microsoft External Staff
3 answers One of the answers was accepted by the question author.

How to cancel multiple property changes

I have a person class that is displayed in a wpf window so that a user can edit the various person properties. I want to allow a user to click on a button that cancels all changes up to that point. The following code is my implementation: Private Sub…

Developer technologies | VB
Developer technologies | VB

An object-oriented programming language developed by Microsoft that can be used in .NET.

2,934 questions
asked 2026-07-19T00:41:38.44+00:00
RogerSchlueter-7899 1,756 Reputation points
accepted 2026-07-20T13:05:00.38+00:00
RogerSchlueter-7899 1,756 Reputation points
1 answer One of the answers was accepted by the question author.

VS could not find 'Microsoft.VisualBasic.Strings'

Designer window for .VB files in Visual Studio shows error for references to 'Microsoft.VisualBasic.Strings'. This error occurs randomly.

Developer technologies | VB
Developer technologies | VB

An object-oriented programming language developed by Microsoft that can be used in .NET.

2,934 questions
asked 2026-07-13T18:54:27.2166667+00:00
Gnugs 45 Reputation points
commented 2026-07-15T03:30:17.1466667+00:00
Nancy Vo (WICLOUD CORPORATION) 7,825 Reputation points Microsoft External Staff Moderator
5 answers One of the answers was accepted by the question author.

WebView2 Deployment

Hello, I recently converted a VB.net (VS 2022) Desktop Application from a WebBrowser control to a WebView2 Control. I have everything working just as I would like. When I create an installer and include all of the dependencies then install my…

Developer technologies | VB
Developer technologies | VB

An object-oriented programming language developed by Microsoft that can be used in .NET.

2,934 questions
asked 2026-07-04T13:23:05.03+00:00
Hal Roenick 20 Reputation points
commented 2026-07-13T02:34:27.85+00:00
Nancy Vo (WICLOUD CORPORATION) 7,825 Reputation points Microsoft External Staff Moderator
2 answers

What Determines AddHandler Action

I have the following in my Window.Loaded event: Dim cvsPeople As CollectionViewSource = CType(Resources("cvsPeople"), CollectionViewSource) cvsPeople.Source = ocPeople .... ComboTextBox =…

Developer technologies | VB
Developer technologies | VB

An object-oriented programming language developed by Microsoft that can be used in .NET.

2,934 questions
asked 2026-06-29T14:45:42.08+00:00
RogerSchlueter-7899 1,756 Reputation points
commented 2026-07-07T03:44:51.72+00:00
Nancy Vo (WICLOUD CORPORATION) 7,825 Reputation points Microsoft External Staff Moderator
2 answers

Visual Basic 6 software download

I am looking for download VB 6. is it still available to down load from my subscription.

Developer technologies | VB
Developer technologies | VB

An object-oriented programming language developed by Microsoft that can be used in .NET.

2,934 questions
asked 2026-06-23T16:58:24.58+00:00
Firoz Syed 0 Reputation points
commented 2026-07-01T02:40:13.21+00:00
Nancy Vo (WICLOUD CORPORATION) 7,825 Reputation points Microsoft External Staff Moderator
4 answers

Changing DataDirectory does not load different data

When the user clicks File | Open, the user gets a FolderBrowserDialog to select a folder containing the MyData.mdf data file. After clicking OK, the app calls AppDomain.CurrentDomain.SetData("DataDirectory",…

Developer technologies | VB
Developer technologies | VB

An object-oriented programming language developed by Microsoft that can be used in .NET.

2,934 questions
asked 2026-06-17T04:33:17.3833333+00:00
James Buss 136 Reputation points
commented 2026-06-24T02:30:17.9133333+00:00
Nancy Vo (WICLOUD CORPORATION) 7,825 Reputation points Microsoft External Staff Moderator
2 answers

InvalidCastException

How to fix [InvalidCastException: Conversion from type 'DBNull' to type 'String' is not valid.]

Developer technologies | VB
Developer technologies | VB

An object-oriented programming language developed by Microsoft that can be used in .NET.

2,934 questions
asked 2026-05-31T13:55:18.6366667+00:00
Corey H 0 Reputation points
commented 2026-06-08T08:28:05.8633333+00:00
Jack Dang (WICLOUD CORPORATION) 18,975 Reputation points Microsoft External Staff Moderator
4 answers One of the answers was accepted by the question author.

What is the correct way to add files to the Resources of a VB.net project

I have been having trouble getting wave files into the resources of this project. I tried to add the wave files by right clicking on 'Resources' in the Solution Explorer and selecting 'Add' and 'Existing Item' That added the files to the Resources list…

Developer technologies | VB
Developer technologies | VB

An object-oriented programming language developed by Microsoft that can be used in .NET.

2,934 questions
asked 2025-11-23T12:25:22.6766667+00:00
Cynolycus 285 Reputation points
answered 2026-05-29T11:40:08.2433333+00:00
Aurel Nicolae 0 Reputation points
3 answers

ActivX component can't create object

Developer technologies | VB
Developer technologies | VB

An object-oriented programming language developed by Microsoft that can be used in .NET.

2,934 questions
asked 2026-05-06T10:28:24.11+00:00
Mohitkumar Parmar 0 Reputation points
commented 2026-05-14T13:16:17.2933333+00:00
Varsha Dundigalla(INFOSYS LIMITED) 5,185 Reputation points Microsoft External Staff
2 answers One of the answers was accepted by the question author.

I cannot close Excel after using it in VB.net

I use vb.net to grab data from a spreadsheet using a background worker, when the data is finished loading I want to close excel but it leaves excel as a background task. The loading seems fine based on the program behavior. Here is the code: Private Sub…

Developer technologies | VB
Developer technologies | VB

An object-oriented programming language developed by Microsoft that can be used in .NET.

2,934 questions
asked 2026-04-29T18:55:05.6533333+00:00
Devon Nullman 100 Reputation points
commented 2026-05-05T02:50:32.27+00:00
Nancy Vo (WICLOUD CORPORATION) 7,825 Reputation points Microsoft External Staff Moderator
2 answers

Settings Changes Not Being Saved

My app has several settings that the user can change. The code that saves the changes is: My.Settings(PropName) = ConvertedValue My.Settings.Save() I have confirmed that the ConvertedValue is actually saved immediately after that code executes by…

Developer technologies | VB
Developer technologies | VB

An object-oriented programming language developed by Microsoft that can be used in .NET.

2,934 questions
asked 2026-04-14T12:10:49.1933333+00:00
RogerSchlueter-7899 1,756 Reputation points
commented 2026-04-23T08:38:07.68+00:00
Jack Dang (WICLOUD CORPORATION) 18,975 Reputation points Microsoft External Staff Moderator
3 answers

Discussion on best way to create a "backend" for my apps

Hi Over the years I have written many apps for myself and for customers using VB.NET, most of these were standalone apps which worked on workstations and servers and didn't involve much if anything to do with networking, client/server or a backend. I…

Developer technologies | VB
Developer technologies | VB

An object-oriented programming language developed by Microsoft that can be used in .NET.

2,934 questions
asked 2021-04-20T21:44:30.053+00:00
Darren Rose 311 Reputation points
answered 2026-04-16T16:14:50.4466667+00:00
Tanish Khanna 0 Reputation points
3 answers

How to connect to two different databases in two different directories in one vb app

My app has two databases: common.mdf and variable.mdf. In Settings I've got: CommonConnectionString: Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\common.mdf;Integrated Security=True;Connect…

Developer technologies | VB
Developer technologies | VB

An object-oriented programming language developed by Microsoft that can be used in .NET.

2,934 questions
asked 2026-04-07T03:29:56.2866667+00:00
James Buss 136 Reputation points
commented 2026-04-14T11:07:21.8566667+00:00
Varsha Dundigalla(INFOSYS LIMITED) 5,185 Reputation points Microsoft External Staff
3 answers

How can I make a key spammer for a specific software on vb.net

Hi, I have managed to make my software to spam a certain letter or number, but i want it to target a specific window that is open which then it will allow me to utilise both of my monitors. i am using vb.net

Developer technologies | VB
Developer technologies | VB

An object-oriented programming language developed by Microsoft that can be used in .NET.

2,934 questions
asked 2021-06-14T18:45:55.693+00:00
Frequency 1 Reputation point
answered 2026-04-03T02:12:39.62+00:00
Jane Rise 0 Reputation points
1 answer

How can i resize the image and TransparentControl programatically?

I have been experimenting with VB TransparentControl as per the code that Castorix31 did about 3 years ago. https://github.com/castorix/VB_TransparentControl I decided to try to dynamically change the size of the TransparentControl that had an image in…

Developer technologies | VB
Developer technologies | VB

An object-oriented programming language developed by Microsoft that can be used in .NET.

2,934 questions
asked 2026-03-24T23:00:09.52+00:00
Antony 0 Reputation points
commented 2026-04-02T05:22:35.24+00:00
Taki Ly (WICLOUD CORPORATION) 2,980 Reputation points Microsoft External Staff Moderator
2 answers

How to Convert Excel File to Pdf in .NET Console App using NuGet Package

I have installed Microsoft Visual Studio Professional 2019. I selected Console App (.NET Framework) Visual Basic. The console application will extract data from the database, write them in an excel file, and then convert the excel file to pdf file. I…

Microsoft 365 and Office | Excel | For business | Windows
Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | .NET | Other
Developer technologies | .NET | Other

Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.

4,174 questions
Developer technologies | VB
Developer technologies | VB

An object-oriented programming language developed by Microsoft that can be used in .NET.

2,934 questions
asked 2024-02-06T11:07:29.67+00:00
Shehzad Shoukat 0 Reputation points
answered 2026-03-31T03:33:59.3366667+00:00
paul hung 0 Reputation points
1 answer

Failed Update data by using a TableAdapter in .NET Framework applications

In Visual studio 2022, I have created a VB forms connect with my table in SQL. I can add new record in table but not update. Here is the code Private Sub ButtonUpdate_Click(sender As Object, e As EventArgs) Handles ButtonUpdate.Click Try …

Developer technologies | VB
Developer technologies | VB

An object-oriented programming language developed by Microsoft that can be used in .NET.

2,934 questions
asked 2024-01-10T16:34:04.7466667+00:00
qp 26 Reputation points
answered 2026-03-29T16:28:01.35+00:00
Spearman 0 Reputation points
2 answers One of the answers was accepted by the question author.

doEvenys ???

I need to parse and extract information from over 500 .html log files. Fnames is a list of the .html filenames at the start Where is the folder and searchtype is top directory only Fnames.AddRange(My.Computer.FileSystem.GetFiles(where, SearchType,…

Developer technologies | VB
Developer technologies | VB

An object-oriented programming language developed by Microsoft that can be used in .NET.

2,934 questions
asked 2026-03-24T00:03:54.55+00:00
Devon Nullman 100 Reputation points
commented 2026-03-26T02:16:17.6533333+00:00
Nancy Vo (WICLOUD CORPORATION) 7,825 Reputation points Microsoft External Staff Moderator