2,940 questions with Developer technologies | VB tags

Sort by: Updated
1 answer

Why does my code work only once?

My application includes a stopwatch plus a lap counter. The stopwatch is working fine using the following code: Private Sub StartTimer(sender As Object, e As RoutedEventArgs) Handles btnStart.Click CurrentTime = TimeSpan.Zero LapTime =…

Developer technologies | VB
Developer technologies | VB

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

2,940 questions
asked 2026-08-22T02:35:16.3133333+00:00
RogerSchlueter-7899 1,761 Reputation points
answered 2026-08-22T17:20:16.14+00:00
Bruce (SqlWork.com) 84,951 Reputation points
2 answers One of the answers was accepted by the question author.

How do I restore controls and there properties from a .json file?

I am trying to learn some new things with VB.Net that I have never done before, like creating custom controls, and so far I have been able to look things up on Google and modify them to suit my needs. I have come to a situation where I now need to…

Developer technologies | VB
Developer technologies | VB

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

2,940 questions
asked 2026-08-13T05:43:00.5433333+00:00
Cynolycus 305 Reputation points
commented 2026-08-19T00:55:24.6166667+00:00
Jay Pham (WICLOUD CORPORATION) 4,270 Reputation points Microsoft External Staff Moderator
2 answers

Request for Microsoft guidance: Migration strategy from VB.NET/ASP.NET MVC/System.Web to .NET 10

Dear Microsoft Support Team, We are currently evaluating a modernization strategy for an existing enterprise system, GMTP/F-GDC, and would like to request Microsoft's official technical guidance before deciding on our migration approach. 1. Current…

Developer technologies | VB
Developer technologies | VB

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

2,940 questions
asked 2026-08-08T06:24:25.0766667+00:00
PHAM VAN NAM 5 Reputation points
commented 2026-08-17T03:35:52.9766667+00:00
Danny Nguyen (WICLOUD CORPORATION) 8,450 Reputation points Microsoft External Staff Moderator
3 answers

Can an existing VB.NET ASP.NET Web Forms application be migrated to .NET 10 while keeping VB.NET?

Hello Microsoft Support, We have a legacy enterprise system developed with VB.NET on .NET Framework 3.5 (ASP.NET Web Forms). We are planning to migrate the system to .NET 10 and would like to minimize code changes. Our questions are: Is it possible to…

Developer technologies | VB
Developer technologies | VB

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

2,940 questions
asked 2026-08-06T10:16:00.91+00:00
PHAM VAN NAM 5 Reputation points
commented 2026-08-13T02:50:54.42+00:00
Damien Pham (WICLOUD CORPORATION) 1,970 Reputation points Microsoft External Staff Moderator
3 answers

Reading Datafile in As Few Lines As Necessary

I know the DataReader method, but I thought there was a way using "ReadLine" or something like that.

Developer technologies | VB
Developer technologies | VB

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

2,940 questions
asked 2026-08-03T18:21:58.1066667+00:00
Stephen Woehr 0 Reputation points
commented 2026-08-11T01:23:49.9566667+00:00
Jay Pham (WICLOUD CORPORATION) 4,270 Reputation points Microsoft External Staff Moderator
3 answers One of the answers was accepted by the question author.

In wpf with vb, there is no closing of a popup opened from another popup with the Staysopen property set to true.

Hello, In WPF with VB, I have a main window representing a toolbar. A button in the main window opens a popup with the StaysOpen property set to True. From a button in the popup, I open a second popup with StaysOpen set to False. After the first time the…

Developer technologies | VB
Developer technologies | VB

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

2,940 questions
asked 2026-08-08T17:23:32.26+00:00
jacky Perpète 216 Reputation points
accepted 2026-08-10T04:34:35.13+00:00
jacky Perpète 216 Reputation points
3 answers

VB6 IDE Download

Where can i download VB6 IDE from?

Developer technologies | VB
Developer technologies | VB

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

2,940 questions
asked 2022-12-01T16:45:09.893+00:00
Renu Rathor 1 Reputation point
edited an answer 2026-08-08T19:59:11.42+00:00
shadowdev ⠀ 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,940 questions
asked 2026-07-23T08:01:09.4933333+00:00
Cynolycus 305 Reputation points
commented 2026-07-29T09:16:53.46+00:00
Varsha Dundigalla(INFOSYS LIMITED) 5,185 Reputation points Microsoft External Staff
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,940 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
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,940 questions
asked 2026-07-19T00:41:38.44+00:00
RogerSchlueter-7899 1,761 Reputation points
accepted 2026-07-20T13:05:00.38+00:00
RogerSchlueter-7899 1,761 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,940 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) 8,075 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,940 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) 8,075 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,940 questions
asked 2026-06-29T14:45:42.08+00:00
RogerSchlueter-7899 1,761 Reputation points
commented 2026-07-07T03:44:51.72+00:00
Nancy Vo (WICLOUD CORPORATION) 8,075 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,940 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) 8,075 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,940 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) 8,075 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,940 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,940 questions
asked 2025-11-23T12:25:22.6766667+00:00
Cynolycus 305 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,940 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,940 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) 8,075 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,940 questions
asked 2026-04-14T12:10:49.1933333+00:00
RogerSchlueter-7899 1,761 Reputation points
commented 2026-04-23T08:38:07.68+00:00
Jack Dang (WICLOUD CORPORATION) 18,975 Reputation points Microsoft External Staff Moderator