2,743 questions with VB-related tags

Sort by: Updated
2 answers

I can not use iis Express

I am experiencing issues where a message stating "Failed to run IIS" occurs on two different PCs. Here are the details: Environment Information OS: Windows 11 24H2 (OS Build: 26100.2033) Visual Studio: Visual Studio 2022 Professional…

Internet Information Services
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,228 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,743 questions
asked 2024-11-21T13:08:14.6466667+00:00
弘善 飯田 0 Reputation points
commented 2024-11-22T10:04:43.4733333+00:00
弘善 飯田 0 Reputation points
1 answer

Copying Over Forms in VS2022

Hello everyone. I am having an issue in VS2022 that I have never had before and do not know why. I work for a company and I have created our ERP System in Visual Studio. We constantly add things or make changes to the programs, forms, reports, etc. There…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,228 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,743 questions
asked 2024-11-20T18:05:56.2533333+00:00
Todd Lerew 60 Reputation points
answered 2024-11-21T18:25:39.3166667+00:00
Michael Taylor 55,216 Reputation points
1 answer One of the answers was accepted by the question author.

How to handle nullreference exception in "NM_CUSTOMDRAW" notification message?

Hello, I have a windows forms application having a user control . The user control has a Treeview named as TriView. TriView's drawmode is set to OwnerDrawAll. The form is visible all the time. When I run my application and switch between the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,903 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,951 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.
11,058 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,743 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,173 questions
asked 2022-06-28T12:23:02.77+00:00
Rashmi Gupta 81 Reputation points
commented 2024-11-21T07:58:03.1433333+00:00
Ruri Nanase 0 Reputation points
1 answer

How to troubleshot HttpWebRequest if X509Certificate is not added properly

Hello all, I am adding a X509Certificate to the HttpRequest like the following: HttpWebRequest request = (HttpWebRequest)WebRequest.Create("webserviceurl"); request.ClientCertificates.Clear(); X509Certificate certificate = new…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,644 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,521 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.
11,058 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,743 questions
asked 2024-11-04T10:19:14.1133333+00:00
Kuler Master 266 Reputation points
commented 2024-11-20T09:22:02.9366667+00:00
JasonPan - MSFT 5,991 Reputation points Microsoft Vendor
2 answers

Microsoft Excel cannot access the file 'SegmentExport2_f7d153.xlsx'. There are several possible reasons The file name or path does not exist. The file is being used by another program.

when we open the excel getting permission issue . first create function to create the macro then open it .getting error on xlWorkBook = xlApp.Workbooks.Open(MacroFolderPath + sTmpExcelFile). Please find the below code.pleas ehelp me out. Protected…

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,990 questions
Access
Access
A family of Microsoft relational database management systems designed for ease of use.
402 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,743 questions
asked 2024-11-16T15:02:51.11+00:00
Sangtani, Payal (CSW) 0 Reputation points
answered 2024-11-18T01:47:05.5566667+00:00
Jiachen Li-MSFT 32,456 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

How to place array elements that have position and value in their specific positions in the string

hi. The output of the function is expected to be like this: Dim Result as String="AAAAA(Word1)BBBBB(Word2)CCCCC(Word3)DDDDD" Q&A Assist did not have the expected result Structure ResultItem Public Value As String Public…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,743 questions
asked 2024-11-11T08:24:37.1333333+00:00
Mansour_Dalir 1,976 Reputation points
commented 2024-11-14T19:11:15.66+00:00
Mansour_Dalir 1,976 Reputation points
2 answers One of the answers was accepted by the question author.

Creating a User Control for Multi-Line Text Entry in a Text Box

How can a user control be created to incorporate a multi-line text entry feature for a text box? At the moment of design, you need to enter multi-line text Public Property _Text As String Get Return txtNorTarget.Text End Get …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,228 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,743 questions
asked 2024-11-12T12:23:45.8033333+00:00
Mansour_Dalir 1,976 Reputation points
commented 2024-11-14T10:06:01.3233333+00:00
Mansour_Dalir 1,976 Reputation points
2 answers One of the answers was accepted by the question author.

Changes the value of a user control's Description Attribute depending on the language used.

I created a user control with a description attribute for these properties. When I test the user control, these descriptions appear correctly in the property grid. The description attribute is in French. I would like to be able to change it dynamically…

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.
11,058 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,743 questions
asked 2024-11-12T16:05:10.1633333+00:00
jacky Perpète 81 Reputation points
answered 2024-11-13T06:02:23.86+00:00
jacky Perpète 81 Reputation points
1 answer

Download Visual Basic 6.0?

Is there any way to directly download Microsoft Visual Basic 6.0? and would getting Visual Basic 6.0 add both comctl32.dll and comctl32.ocx ? Thanks.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,951 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,743 questions
asked 2024-02-14T16:03:48.36+00:00
Callahan Norman 0 Reputation points
commented 2024-11-12T14:34:01.08+00:00
John Viele 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to get a list of all custom paper in windows system

I know how to add a custom paper to windows (https://learn.microsoft.com/en-us/answers/questions/2116958/how-to-add-custom-paper-to-windows-system). I thought that retrieving a list of all papers in windows will be easy... but. I've tried with…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,951 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,743 questions
asked 2024-11-10T15:23:51.4566667+00:00
Andrzej 20 Reputation points
commented 2024-11-10T17:43:13.2366667+00:00
Andrzej 20 Reputation points
2 answers

How to add custom paper to windows system

I'm looking for help with programmically (VB.NET) adding a custom paper size to window system (not a printer). There are plenty of solutions showing how to define custom paper for printing. But none about adding custom paper to system. Windows have a…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,951 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,743 questions
asked 2024-11-08T19:08:10.8966667+00:00
Andrzej 20 Reputation points
answered 2024-11-09T19:09:17.9766667+00:00
Andrzej 20 Reputation points
1 answer One of the answers was accepted by the question author.

How to Get the Positions of Strings Filtered by Multi-Split Without using (MyString.IndexOf(part, p))

Regarding the previous question MyQuestions There was no expected result due to the duplicate string between the splits. I want to achieve a very correct result with these two functions. thank 'ResultPosition {"54-58","60-64") This…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,743 questions
asked 2024-11-06T13:25:30.6+00:00
Mansour_Dalir 1,976 Reputation points
commented 2024-11-07T08:03:41.7133333+00:00
Jiachen Li-MSFT 32,456 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

VB.NET - Detecting when the computer wakes up.

I have tried a suggestion that someone posted on Stack Overflow, however, it is not working. I can't seem to find the solution online. I wonder if it is even possible to detect when the computer wakes up from sleep in VB.NET. Heer is my code. First, I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,951 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,743 questions
asked 2024-10-15T21:38:54.6833333+00:00
Marc Menzel 101 Reputation points
accepted 2024-11-07T07:41:14.45+00:00
Marc Menzel 101 Reputation points
1 answer One of the answers was accepted by the question author.

How to Get the Positions of Strings Filtered by Multi-Split Method in VB.net With LINQ

According to the previous question, the method of multi-splitting (Multi-Split) I'm working on a VB.net script and need help extracting the positions of specific substrings from a given input string based on a multi-split condition. The input string is…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,743 questions
asked 2024-11-05T08:06:54.8233333+00:00
Mansour_Dalir 1,976 Reputation points
edited an answer 2024-11-07T03:07:24.55+00:00
Jiachen Li-MSFT 32,456 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Migrating Vb.Net web application into .Net 8.0

Hi,   I would like to migrate our web application which has been developed in vb.net web application (MVP) using .Net Framework 4.7 into .Net 8.0. But I am not able to do it. I had used .Net Upgrade Assistant. Can we migrate vb.net web application into…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,743 questions
asked 2024-10-30T09:52:04.9233333+00:00
Banu 20 Reputation points
commented 2024-11-06T07:11:10.4733333+00:00
Jiachen Li-MSFT 32,456 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

How to multi-split the text while going deeper into details by level

vb How to multi-split the text while going deeper into details by level 'This is the input text Dim MyString As String = "00[A]1111{C}22(B)33333{C}4{C}5{C}666[A]777(B)8(B)99{C}999[A]101010" 'The expected output is an array as shown below Dim…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,743 questions
asked 2024-11-02T05:47:54.5333333+00:00
Mansour_Dalir 1,976 Reputation points
commented 2024-11-05T07:23:49.6766667+00:00
Jiachen Li-MSFT 32,456 Reputation points Microsoft Vendor
2 answers

How can I get Visual Basic 6 program?

I am applying for a company that uses VB6. I know it was a development environment back in the 1990s. Apparently, this company still has applications that are written in VB6. Can you please let me know how I can download this software? I have tried to…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,743 questions
asked 2024-10-30T18:04:19.58+00:00
Alden Mallare 0 Reputation points
commented 2024-10-30T22:16:40.17+00:00
MotoX80 34,516 Reputation points
5 answers One of the answers was accepted by the question author.

Hilfe: Der Microsoft.ACE.OLEDB.12.0 Provider ist nicht auf dem lokalen Computer registriert

Ich habe ein neues Motherboard installieren müssen. Ich habe Windows 10 letzte Version 64 bit. Ich habe Windows (Office) 365 64 bit installiert und ich programmiere mit Visual Studio 2019 Basic 64 bit. Die Installationsreihenfolge ist die der Aufzählung.…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,228 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,743 questions
asked 2021-02-10T11:23:08.673+00:00
Joachim Tentscher 21 Reputation points
commented 2024-10-30T08:24:00.5666667+00:00
Peter Fleischer (former MVP) 19,326 Reputation points
4 answers One of the answers was accepted by the question author.

How to Math Operation at one textbox in VB>Net

Dear All, if I input a number and plus sign in a textbox. and when I click Button1, the Result Textbox will display the sum = 25

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,743 questions
asked 2023-04-14T11:23:49.56+00:00
Frangky Bunga 41 Reputation points
commented 2024-10-29T19:10:35.8766667+00:00
Shrirang Bapat 0 Reputation points
3 answers

How to insert line break for send whatsapp message using vb.net

I want to send whatsapp message like below using VB.net LAUNDRY HOMES Invoice Number : 100006 Invoice Date : 07/30/2022 I have used following code but its not line breaking in whatsapp Dim web As New WebBrowser Dim strMessage As…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,743 questions
asked 2022-07-30T16:17:20.2+00:00
Thisara Udayanga 21 Reputation points
commented 2024-10-25T12:00:40.79+00:00
Caseylynn25 0 Reputation points