2,737 questions with VB-related tags

Sort by: Updated
1 answer

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,920 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,737 questions
asked 2024-11-08T19:08:10.8966667+00:00
Andrzej 0 Reputation points
commented 2024-11-09T16:18:46.8233333+00:00
Andrzej 0 Reputation points
2 answers

New Outlook for Windows use in VBScript

Can the NEW Outlook for Windows (free) edition be used with the Visual Basic Script context as follows: Server.CreateObject("Outlook.Application") ? If so, what is the correct literal to use instead of "Outlook.Application" ?

Internet Information Services
Outlook
Outlook
A family of Microsoft email and calendar products.
4,013 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,737 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,989 questions
asked 2024-11-09T00:50:31.66+00:00
Robert Brinkoetter 0 Reputation points
answered 2024-11-09T03:31:13.5766667+00:00
simo-k 635 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,737 questions
asked 2024-11-06T13:25:30.6+00:00
Mansour_Dalir 1,936 Reputation points
commented 2024-11-07T08:03:41.7133333+00:00
Jiachen Li-MSFT 32,376 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,920 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,737 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,737 questions
asked 2024-11-05T08:06:54.8233333+00:00
Mansour_Dalir 1,936 Reputation points
edited an answer 2024-11-07T03:07:24.55+00:00
Jiachen Li-MSFT 32,376 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,737 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,376 Reputation points Microsoft Vendor
0 answers

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,612 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 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,011 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,737 questions
asked 2024-11-04T10:19:14.1133333+00:00
Kuler Master 266 Reputation points
commented 2024-11-05T09:50:00.23+00:00
Kuler Master 266 Reputation points
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,737 questions
asked 2024-11-02T05:47:54.5333333+00:00
Mansour_Dalir 1,936 Reputation points
commented 2024-11-05T07:23:49.6766667+00:00
Jiachen Li-MSFT 32,376 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,737 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,431 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,193 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,737 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,737 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,737 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
1 answer

Is it possible to use the new version of Outlook with vb.net?

I automated notification of sending via Outlook with vb.net code. It worked well with Outlook Classic. recently some employees switched to the new version of Outlook (Outlook NEW 2024) and for these employees, the program is no longer able to trigger…

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.
5,497 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,920 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
4,013 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,737 questions
asked 2024-10-16T10:10:51.41+00:00
Kacou Ambroise KABRAN [LABEL] 0 Reputation points
commented 2024-10-21T09:51:09.8266667+00:00
Jiachen Li-MSFT 32,376 Reputation points Microsoft Vendor
2 answers

Exception when using Firebase streaming

Hi, When I try to read data from Firebase using FirebaseDatabase.net Library I receive Newtonsoft.Json.JsonReaderException exeption this code works Imports Firebase.Database Imports Firebase.Database.Query Public Class Form1 Private Async Sub…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,903 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,737 questions
asked 2024-10-18T05:54:17.3033333+00:00
Yusuf-3141 45 Reputation points
edited the question 2024-10-21T02:26:16.0966667+00:00
Yusuf-3141 45 Reputation points
2 answers One of the answers was accepted by the question author.

'Reference to a non-shared member requires an object reference' after adding a new value to Application Settings

If I add a new settings to my application Settings(VB.NET,NET 4.7.2),I got 142 errors: `BC30469 Reference to a non-shared member requires an object reference` on every code that uses My.Settings If I use notepad++ and manually add the new value to…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,193 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,737 questions
asked 2023-06-19T21:14:22.8133333+00:00
moris27 56 Reputation points
commented 2024-10-17T15:17:28.28+00:00
Fried Parrot 0 Reputation points
1 answer

populate TextBoxes base on date value selected in DatePicker

Hi All. In form of WPF VB.Net project I would like to populate 3 TextBoxes base on selected in DatePicker date value of Monday. The first TextBox named txbWeek will display the number of week of the month depending on the selected date in the…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,784 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,737 questions
asked 2024-10-07T22:53:26.74+00:00
zleug 51 Reputation points
commented 2024-10-17T05:22:40.7133333+00:00
Hongrui Yu-MSFT 2,465 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Open or show a new instance of a form from a new thread in VB.NET

I am trying to open or show a new instance of a form from a new thread in VB.NET. Here is some code that I have come up with: Thread starting procedure: Public Sub StartBellScheduleRun() Dim BS(NumClocks) As Threading.Thread For A As…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,920 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,737 questions
asked 2024-09-04T01:33:12.8966667+00:00
Marc Menzel 101 Reputation points
commented 2024-10-16T17:02:54.7+00:00
Viorel 118K Reputation points
0 answers

How to disable (or fix) automatic "End Class" -> "End Structure" replacement?

In Visual Studio 2019, using Visual Basic, when I have Public Structure Foo End Structure and replace the "Structure" with "Class", Visual Studio tries to be helpful and replace the matching other "Structure" with…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,193 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,737 questions
asked 2022-10-04T13:47:37.633+00:00
a b 1 Reputation point
commented 2024-10-16T11:45:53.9766667+00:00
a b 1 Reputation point
6 answers

The Designer could not be shown for this file because none of the classes within it can be designed.

I have a project produced in Visual Studio 2017. I have just downloaded Visual Studio 2022 and tried to open the project. Although all of the code can be viewed, I can't see any of the Forms. I get: "The Designer could not be shown for this file…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,737 questions
asked 2021-08-29T18:00:22.637+00:00
Trevor Daniels 31 Reputation points
commented 2024-10-16T06:22:18.6733333+00:00
Rizki NL 0 Reputation points
1 answer One of the answers was accepted by the question author.

vb.net I have folder in program path called patient files i need to open specific file using textbox1 with name of file

vb.net I have folder in program path called patient files i need to open specific pdf file using textbox1 with name of file

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,903 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,997 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,737 questions
asked 2023-06-03T22:17:41.8+00:00
Ahmed Ramadan 20 Reputation points
accepted 2024-10-12T15:43:45.2433333+00:00
Ahmed Ramadan 20 Reputation points