Microsoft Q&A

VB

2,275 questions

An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.

Browse all VB tags

2,275 questions with VB-related tags

Sort by: Updated
0 answers

Get chm title

Hello Using Microsoft HTML Help Workshop making CHM files, now how to get the title from those chm files in vb.net (or c#)?

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
8,805 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,275 questions
asked 2023-09-03T17:09:11.43+00:00
Peter Volz 655 Reputation points
edited the question 2023-09-03T17:10:49.6033333+00:00
Peter Volz 655 Reputation points
4 answers One of the answers was accepted by the question author.

How to use devicepicker for Bluetooth in VB?

Would like to use the DevicePicker class in Visual Basic to find the characteristics of the available Bluetooth interfaces. Are there clear examples of its usage?

Universal Windows Platform (UWP)
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,275 questions
asked 2023-08-26T01:43:40.9+00:00
André Dussault 0 Reputation points
commented 2023-09-03T16:03:03.7033333+00:00
André Dussault 0 Reputation points
1 answer

C++ .NET code translation for Visual Basic .NET

Hi friends. I'm passing a C++ Winforms program to Visual Basic .NET. I still don't know about Linq commands. Here is the code in C++ Winforms. Thanks a lot for the help. int numjogo, x = 0; totaljogosjogados = 0; tempremio = 0; for each(Control^ ctrl in…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,661 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,124 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,275 questions
asked 2023-09-02T00:22:55.4266667+00:00
José Carlos 786 Reputation points
answered 2023-09-02T11:55:55.1933333+00:00
Les Hay 85 Reputation points
2 answers

Single DataType evaluation

Hello During a process by a 3rd party SDK, I'm getting the progress completion in percent, but not an integer, but single data type! To check if it reached 100, I use: If Convert.ToInt32(e.TotalPercent) = 100 Then ... The problem is this condition will…

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
8,805 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,275 questions
asked 2023-08-11T20:17:39.7933333+00:00
Peter Volz 655 Reputation points
answered 2023-09-01T09:14:34.2166667+00:00
Jiachen Li-MSFT 19,086 Reputation points Microsoft Vendor
0 answers

Uninstall my application

I want to uninstall my application(named, "EasyShut") through button. Am using VB.Net. Would like the application users to be able to easily uninstall the app from within the app, instead of going into control panel to do that. Already, I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,929 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,275 questions
asked 2023-08-17T12:07:51.2433333+00:00
Wilfred Eghenedji 306 Reputation points
commented 2023-09-01T09:07:54.7533333+00:00
Jiachen Li-MSFT 19,086 Reputation points Microsoft Vendor
2 answers

Get Excel File local absolute path instead of OneDrive Url

Hi everyone! I am having an issue with finding the local path of my Excel file on disk when synced with OneDrive. Here is the context: I have an Excel file on my local machine that is also synced with OneDrive. When I try the formula…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,275 questions
OneDrive Management
OneDrive Management
OneDrive: A Microsoft file hosting and synchronization service.Management: The act or process of organizing, handling, directing or controlling something.
960 questions
Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,494 questions
asked 2021-11-17T17:11:23.71+00:00
Struggling 11 Reputation points
commented 2023-08-31T16:23:16.7333333+00:00
Jesus A 0 Reputation points
1 answer One of the answers was accepted by the question author.

regular expressions : g-code

Using regular expression, I need to remove the following Original Strings : N1G28G91Y0.Z0. N12G44Z2.H22M8 N333(.69" THDMILL) String always start with an "N" follow by a number, 1, 2 up to 3 digits Final Result : G28G91Y0.Z0.…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,275 questions
asked 2023-08-29T19:10:16.4033333+00:00
Cholotron 161 Reputation points
accepted 2023-08-31T10:18:06.1233333+00:00
Cholotron 161 Reputation points
1 answer

Currently using Visual Studio 2022 for my vb.net windows form app and the designer fails to load at "Loading Designer...You can continue working while the designer is loading in the background"

I'm currently using Visual Studio Community 2022 17.7.1 and .NET 6.0

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,593 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,275 questions
asked 2023-08-19T14:21:42.4366667+00:00
Jessie Cudiamat 0 Reputation points
commented 2023-08-31T08:43:21.48+00:00
Jiachen Li-MSFT 19,086 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Folder creation and Deletion logs (Proof)

Hi, I have a folder as D:\MyFavoriteDirectory. I would like to get the time stamps of when this directory was created and when it was deleted. Is it possible to achieve this in VB.Net of PowerShell?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
8,586 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,275 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
5,703 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
1,197 questions
asked 2023-08-29T12:33:39.4733333+00:00
~OSD~ 1,861 Reputation points
accepted 2023-08-31T07:40:11.6933333+00:00
~OSD~ 1,861 Reputation points
2 answers

How to get the number of sub-branches of a TreeView

hi It should be a function that can count the number of sub-branches of the tree view on the headers T Need code changes. Thank. Public Class test2 Dim MyDataTable As New DataTable Dim lstColumns As New List(Of String) Private Sub…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,275 questions
asked 2023-08-21T16:14:55.6366667+00:00
Mansour_Dalir 1,071 Reputation points
commented 2023-08-29T16:28:52.57+00:00
Mansour_Dalir 1,071 Reputation points
1 answer

Having issue with Keyword not supported: 'trust server certificate in Visual Studio VB

Hi. I'm trying to run VB code in visual studio form project but get an error when code is trying to run. Error is: "System.ArgumentException: 'Keyword not supported: 'trust server certificate'.'". The line in code affected is: "Using…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,275 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
821 questions
asked 2023-04-03T21:57:11.6966667+00:00
Chaim Bochner 0 Reputation points
commented 2023-08-29T15:11:24.5133333+00:00
RNJP 0 Reputation points
0 answers

vbs files doesn't work - "There is no script file specified."

Hello everybody, I have some strange problems with running .vbs files. We have some installation scripts in the company running with .vbs, but nobody can help me with this problem and it's very annoying. If I try to run a .vbs file there is just this…

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
2,931 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,275 questions
asked 2023-08-28T09:42:08.36+00:00
Steven 0 Reputation points
edited a comment 2023-08-29T07:46:09.8833333+00:00
Steven 0 Reputation points
2 answers One of the answers was accepted by the question author.

Using Visual Studio VB, is there a way to access the contents of a ProperyGrid?

I have a need to be able to get and save the contents of a PropertyGrid that contains the application's settings. The PropertyGrid is loaded as seen next line: PropertyGrid1.SelectedObject = My.Settings Trying to avoid having to hard code the retrieval…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,661 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,275 questions
asked 2023-08-26T19:28:52.65+00:00
Eugene Gough 196 Reputation points
edited an answer 2023-08-29T01:11:05.94+00:00
Jiachen Li-MSFT 19,086 Reputation points Microsoft Vendor
0 answers

response.redirectpermanent in customerrorpage keeps fragment (bookmark)

I have a custom Error page trapping http error 404. In the load event (VB.NET) I do a reponse.redirectpermanent to another page eg. : Browser navigate to https://www.mysite.com/sometUrlwhichdoesnotexist**#abc** In customerrorpage…

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
616 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,275 questions
asked 2023-08-28T16:14:37.78+00:00
2Compute bv 0 Reputation points
commented 2023-08-28T17:30:42.85+00:00
AgaveJoe 24,206 Reputation points
1 answer One of the answers was accepted by the question author.

Issue with "Windows Form App" Disappearing in VB.NET 2022 Hello everyon

I'm facing a problem with VB.NET 2022 that I recently installed on my PC. I'm new to programming, so I'd appreciate some guidance on this issue. The problem I'm encountering is related to the "Windows Form App" template in VB.NET 2022. Here's…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,661 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,275 questions
asked 2023-08-27T09:23:27.4266667+00:00
Mohammad Ishaq 21 Reputation points
accepted 2023-08-28T15:37:05.89+00:00
Mohammad Ishaq 21 Reputation points
1 answer One of the answers was accepted by the question author.

In VB.net is it possible to Left Justify the text in a custom Combobox?

I wanted to add a Combobox that has a list of colors as well as displaying a sample of the color, just as in Visual Studio when you select the foreground or background color of an object. I did some searching and found a few ways of doing it and although…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,275 questions
asked 2023-08-27T14:22:35.3966667+00:00
Cynolycus 190 Reputation points
commented 2023-08-28T08:38:07.6666667+00:00
Cynolycus 190 Reputation points
0 answers

Copy Web Data into datbase

Hi Friends, I am trying to copy get webpage values into my databases table using vb.net 2017, I am using following code but its not working Dim Web As New HtmlAgilityPack.HtmlWeb Dim Doc As New HtmlAgilityPack.HtmlDocument Doc =…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,929 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,275 questions
asked 2023-08-26T16:46:57.9366667+00:00
Malik Asad Mahmood 126 Reputation points
edited the question 2023-08-28T02:22:58.2433333+00:00
Jiale Xue - MSFT 8,686 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

CreateProcess, using Visual Basic, doesn't create a process

I'm having difficulties with using CreateProcess in Visual Basic. The purpose is to open NotePad in a particular place on the screen and with a specific size. This the code I am using so far (after many errors & tests): Structure…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,661 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,275 questions
asked 2023-08-26T09:03:31.3366667+00:00
Jim Webb 41 Reputation points
commented 2023-08-26T15:59:52.7266667+00:00
Jim Webb 41 Reputation points
2 answers

StreamJsonRpc.RemoteInvocationException while launching Visual Studio

Fresh install of Visual Studio 2022 results in a StreamJsonRpc.RemoteInvocationException exception... Checked the log under C:\Users[myId]\AppData\Local\Temp\servicehub\logs.. Below is the content of the log, Please help... 01/03/2022 20:37:53…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,661 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
8,805 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,275 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: The period of time during which a program is being executed in a computer.
1,034 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
837 questions
asked 2022-01-04T05:00:30.707+00:00
Donkena, Trilochan 6 Reputation points
commented 2023-08-25T19:14:49.8633333+00:00
Bruce Maynard 0 Reputation points
1 answer

Having issue with Keyword not supported: 'trust server certificate in Visual Studio VB

Hi. I'm trying to run VB code in visual studio form project but get an error when code is trying to run. Error is: "System.ArgumentException: 'Keyword not supported: 'trust server certificate'.'". The line in code affected is: Data…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,275 questions
asked 2023-08-11T17:02:43.75+00:00
Cesar Rivas 0 Reputation points
commented 2023-08-24T09:20:07.53+00:00
Jiachen Li-MSFT 19,086 Reputation points Microsoft Vendor