An object-oriented programming language developed by Microsoft that can be used in .NET.
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
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
An object-oriented programming language developed by Microsoft that can be used in .NET.
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
An object-oriented programming language developed by Microsoft that can be used in .NET.
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
An object-oriented programming language developed by Microsoft that can be used in .NET.
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
An object-oriented programming language developed by Microsoft that can be used in .NET.
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
An object-oriented programming language developed by Microsoft that can be used in .NET.
VB6 IDE Download
Where can i download VB6 IDE from?
Developer technologies | VB
An object-oriented programming language developed by Microsoft that can be used in .NET.
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
An object-oriented programming language developed by Microsoft that can be used in .NET.
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
An object-oriented programming language developed by Microsoft that can be used in .NET.
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
An object-oriented programming language developed by Microsoft that can be used in .NET.
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
An object-oriented programming language developed by Microsoft that can be used in .NET.
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
An object-oriented programming language developed by Microsoft that can be used in .NET.
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
An object-oriented programming language developed by Microsoft that can be used in .NET.
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
An object-oriented programming language developed by Microsoft that can be used in .NET.
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
An object-oriented programming language developed by Microsoft that can be used in .NET.
InvalidCastException
How to fix [InvalidCastException: Conversion from type 'DBNull' to type 'String' is not valid.]
Developer technologies | VB
An object-oriented programming language developed by Microsoft that can be used in .NET.
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
An object-oriented programming language developed by Microsoft that can be used in .NET.
ActivX component can't create object
Developer technologies | VB
An object-oriented programming language developed by Microsoft that can be used in .NET.
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
An object-oriented programming language developed by Microsoft that can be used in .NET.
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
An object-oriented programming language developed by Microsoft that can be used in .NET.