2,945 questions with Developer technologies | VB tags

Sort by: Updated
1 answer

Westminster Clock Chime .wav files not sounding genuine when generated from a VB.NET Program

I have some code that supposedly is supposed to create Westminster Clock Chime .wav files. However, the .wav files don't sound like true Westminster Clock Chimes. I am not sure how to fix it. Imports System Imports System.IO Imports…

Developer technologies | VB
Developer technologies | VB

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

2,945 questions
asked 2026-10-01T11:34:07.6466667+00:00
Marc Menzel 121 Reputation points
answered 2026-10-02T03:50:59.4533333+00:00
Brian Pham (WICLOUD CORPORATION) 85 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Bug? Please confirm: "Progress Bar" color is always displaying as green regardless of Forecolor setting.

I may have stumbled across a bug in VS2026. Can anyone please confirm? I can't change the Forecolor of a progress bar. It's always coming up green regardless of the Property setting or when attempting to change the color via code. (No sample code. Simply…

Developer technologies | VB
Developer technologies | VB

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

2,945 questions
asked 2026-09-24T12:00:23.6733333+00:00
Mugsy's RapSheet 266 Reputation points
edited a comment 2026-09-29T02:25:21.6433333+00:00
Nguyen Dam (WICLOUD CORPORATION) 595 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Using VBS to open Excel spreadsheet with write access

I'm looking for assistance getting a vbs script to work with Task Scheduler on a new PC I've recently bought and configured. This script works fine when I manually run it, but it not working properly when I use Task Scheduler to run it. Also, this…

Developer technologies | VB
Developer technologies | VB

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

2,945 questions
asked 2026-09-13T15:34:31.2366667+00:00
Rick Crosby 40 Reputation points
commented 2026-09-17T01:35:01.16+00:00
Jay Pham (WICLOUD CORPORATION) 4,675 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

Help to create a usercontrol VB.NET

I am trying to create a "Group" user control—similar to a GroupBox—that features a title and a "Launcher" button next to the title, while allowing me to add any other desired controls to the main body of the group later on the form.…

Developer technologies | VB
Developer technologies | VB

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

2,945 questions
asked 2026-09-15T14:56:30.37+00:00
Apostolos Doudakmanis 161 Reputation points
accepted 2026-09-16T10:33:45.39+00:00
Apostolos Doudakmanis 161 Reputation points
1 answer

Calculator

Arkadaşlar ben bir hesap makinesi kodladım ve bu makinede Virgüllü toplama ,çıkarma çarpma veya bölme yapamıyorum.Mesela 8,6*7,2 diyorum Makine bunu 8*8,6 olarak algılayıp çarpıyor.Yardımınız lazım lütfen. - Türkçe Hi. I designed a Calculator and I…

Developer technologies | VB
Developer technologies | VB

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

2,945 questions
asked 2021-02-08T19:06:29.7+00:00
JuiceMiner66 1 Reputation point
edited an answer 2026-09-15T07:01:58.2766667+00:00
Michael John 0 Reputation points
3 answers One of the answers was accepted by the question author.

Null data not handled properly

I am reading data from a SQL Server database with this code: Dim rdr As SqlDataReader = cmd.ExecuteReader While rdr.Read() evnt = New MyEvent With { .EventID = If(IsDBNull(rdr.GetInt32("EventID")), Nothing,…

Developer technologies | VB
Developer technologies | VB

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

2,945 questions
asked 2026-09-13T16:06:35.95+00:00
RogerSchlueter-7899 1,801 Reputation points
commented 2026-09-15T02:40:49.04+00:00
Gatlin Le (WICLOUD CORPORATION) 805 Reputation points Microsoft External Staff Moderator
4 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,945 questions
asked 2026-08-08T17:23:32.26+00:00
jacky Perpète 216 Reputation points
answered 2026-09-05T04:22:35.0333333+00:00
jacky Perpète 216 Reputation points
3 answers One of the answers was accepted by the question author.

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,945 questions
asked 2026-08-22T02:35:16.3133333+00:00
RogerSchlueter-7899 1,801 Reputation points
commented 2026-08-25T05:15:40.6566667+00:00
RogerSchlueter-7899 1,801 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,945 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,675 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,945 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,725 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,945 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) 2,220 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,945 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,675 Reputation points Microsoft External Staff Moderator
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,945 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,945 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,945 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,945 questions
asked 2026-07-19T00:41:38.44+00:00
RogerSchlueter-7899 1,801 Reputation points
accepted 2026-07-20T13:05:00.38+00:00
RogerSchlueter-7899 1,801 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,945 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,160 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,945 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,160 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,945 questions
asked 2026-06-29T14:45:42.08+00:00
RogerSchlueter-7899 1,801 Reputation points
commented 2026-07-07T03:44:51.72+00:00
Nancy Vo (WICLOUD CORPORATION) 8,160 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,945 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,160 Reputation points Microsoft External Staff Moderator