2,780 questions with VB-related tags

Sort by: Updated
0 answers

Some imported namespaces have a disabled (greyed) check mark

Using VS Community 2022, I have a VB Windows Forms Project. In Project, Properties, References, I see about a dozen namespaces with a check mark indicating they are imported into my project. So far so good. Three of them (System.Drawing,…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,437 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,780 questions
asked 2025-02-14T13:13:55.9033333+00:00
Andrew Mercer 486 Reputation points
1 answer

extension for running Visual Basic script in Visual Studio Code

I want to run Visual Basic code in Visual Studio Code. So, when I search for Visual Basic extension in Visual Studio Code, it shows several extensions. Which is the right extension for running Visual Basic script in Visual Studio Code?

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,780 questions
asked 2021-10-20T10:04:09.073+00:00
Sanniddha Chakrabarti 36 Reputation points
commented 2025-02-13T12:13:33.72+00:00
Frédéric Jouault 0 Reputation points
2 answers

Can I execute a report from Report Builder in my VS2022 VB.net WinForms application

I have been able to display a report on an asp webpage from my vs2022 vb.net webforms application but I can not display a report that has more than 1 table/dataset. Is this possible?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 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.
14,470 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,992 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,780 questions
asked 2025-02-11T23:38:43.0866667+00:00
BJ Harper 0 Reputation points
edited an answer 2025-02-12T06:45:02.89+00:00
Jiachen Li-MSFT 33,451 Reputation points Microsoft Vendor
2 answers

Can't a remote APP using AxMsRdpClient11NotSafeForScripting be moved to a 2nd left screen with different scale?

In my .NET Framework 4.8 project, I am using the class AxMsRdpClient11NotSafeForScripting from the AxMSTSCLib library to open a remote app. I have a second screen on the left where I can't drag the app to. I can only move it if the two screens have the…

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,718 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,780 questions
asked 2025-02-07T08:29:06.56+00:00
Arnau Pla 0 Reputation points
edited a comment 2025-02-10T08:17:16.3666667+00:00
Jiachen Li-MSFT 33,451 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Help Needed: Clarifying VB.NET Concepts (Namespaces & MSIL)

Hey VB.NET developers! I'm trying to clear up some confusion in my study materials and would love your expert input on these two questions: What Exactly is a Namespace in .NET? Question: Which of the following best describes a Namespace in .NET? a) A…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 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,780 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,194 questions
asked 2025-02-06T21:07:15.57+00:00
Clarence Parmar 20 Reputation points
commented 2025-02-09T21:44:21.32+00:00
Clarence Parmar 20 Reputation points
1 answer One of the answers was accepted by the question author.

Regex to Match and Keep Distance Between Non-Printing Text Characters

How can the distance between non-printing text characters be matched and kept to less than 2 characters long using regex? Dim LenSpace As Integer = 2 Dim sttTest As String = "[A A] [AA BB] [SS UU POPO SS] [GAB]" & vbTab &…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,780 questions
asked 2025-02-01T18:09:30.7266667+00:00
Mansour_Dalir 2,016 Reputation points
commented 2025-02-06T12:00:57.42+00:00
Mansour_Dalir 2,016 Reputation points
4 answers One of the answers was accepted by the question author.

How to display menu by NotifyIcon without displaying the form in Taskbar

I have a form with a NotifyIcon and a ContextMenuStrip and I want to display the menu by clicking on the notification, but unfortunately it is displayed in the taskbar. Why? I tried setting the ShowInTaskbar property to false, but it didn't work.Tip Only…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,923 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,735 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,780 questions
asked 2024-08-10T19:15:01.1466667+00:00
Mansour_Dalir 2,016 Reputation points
answered 2025-02-06T10:38:05.2+00:00
Stephan Berger 0 Reputation points
1 answer

Win11 Scaling Issues with .NET 4 WinForms Application

A WinForms application developed in .NET 4 is experiencing display issues when running on Windows 11 with a zoom level of 125%. The application does not properly support DPI scaling due to limitations in .NET 4. Attempts to use the Windows API function…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 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,294 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,780 questions
asked 2025-01-31T15:21:55.1666667+00:00
The Master 20 Reputation points
commented 2025-02-04T08:50:57.7466667+00:00
Jiale Xue - MSFT 48,876 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Userform create with vba excel

In my excel VBA project overview, the userform option is missing in the insert menu option. Only module and class module are shown.

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
2,159 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,780 questions
asked 2025-02-01T16:04:12.8266667+00:00
joep kint 20 Reputation points
accepted 2025-02-03T12:45:54.44+00:00
joep kint 20 Reputation points
2 answers

Install visual basic SP6

Impossible to install the cumulative version of VB SP6 as long the VB SP6 is not installed??? Please advise. KR Pierre

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,780 questions
asked 2025-01-28T10:40:39.7233333+00:00
PKL PKL 0 Reputation points
commented 2025-02-03T07:43:19.8933333+00:00
Jiachen Li-MSFT 33,451 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Declare variable error

Receive this error when running the code below. Don't know how to resolve it. Command1.CommandText = "UPDATE names2 " & "SET trn_date1 = @trn_date1, " & "trn_date2 =…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,470 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,780 questions
asked 2025-01-31T17:59:02.7966667+00:00
SuperCoder 216 Reputation points
accepted 2025-01-31T23:45:00.5966667+00:00
SuperCoder 216 Reputation points
1 answer One of the answers was accepted by the question author.

How to create TN3270 connection using Visual Basic .NET Community 2022

I have the below installed in my laptop; Microsoft Visual Studio Community 2022 - Current Version 17.12.4 Microsoft .NET Framework Version 4.8.09.32 Microsoft Host Integration Server 2020 Evaluation Version 11.0.2020.0 I want to create a Mainframe TN3270…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,780 questions
asked 2025-01-30T15:33:27.5266667+00:00
Senthil Kumar Sudanthiran 20 Reputation points
accepted 2025-01-30T16:32:27.51+00:00
Senthil Kumar Sudanthiran 20 Reputation points
1 answer

How can I programmatically call the windows dialog window: "Select an app to open this" which is used to set default programs?

Hello, How can I programmatically call the windows dialog window: "Select an app to open this" which is used to set default programs? I am looking for some example in c# or vb. Any assistance would be appreciated. Thank you in advance.

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,294 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,780 questions
asked 2024-12-06T12:49:42.0933333+00:00
Hi MP_1_950 0 Reputation points
commented 2025-01-30T08:58:35.5933333+00:00
Jiachen Li-MSFT 33,451 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How do I fix this parameterized query error?

Receive this error when running the code below. How do I fix this? objCommand.CommandText = "UPDATE names2 " & "SET trn_date1 = @trn_date1, " & "trn_date2 = @trn_date2, trn_date3 =…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,470 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,780 questions
asked 2025-01-29T17:09:58.67+00:00
SuperCoder 216 Reputation points
commented 2025-01-29T21:52:42.75+00:00
SuperCoder 216 Reputation points
0 answers

api rest api for check if email exists, or other method

Exists a method via api rest code, to check if an email exists? Note: in vba for exacel please Not the correct syntiax to compose email, but if the ******@test.com, exits

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
2,159 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,780 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.
4,260 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,735 questions
asked 2025-01-28T18:02:52.1666667+00:00
gss.italy sal21 81 Reputation points
edited the question 2025-01-29T01:01:04.4766667+00:00
Jiajing Hua-MFST 14,575 Reputation points Microsoft Vendor
1 answer

Developing Cross-Platform MAUI Applications with VB.NET

Is it possible to develop cross-platform MAUI applications using VB.NET? Guidance and resources on this topic have been difficult to find.

Azure Web PubSub
Azure Web PubSub
An Azure service that provides real-time messaging for web applications using WebSockets and the publish-subscribe pattern.
83 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,925 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,780 questions
asked 2025-01-17T18:15:22.62+00:00
whvbntsql 0 Reputation points
commented 2025-01-28T12:18:16.6733333+00:00
Harshitha Veeramalla 81 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,780 questions
asked 2024-10-30T09:52:04.9233333+00:00
Banu 20 Reputation points
commented 2025-01-24T11:04:27.9033333+00:00
Banu 20 Reputation points
2 answers

Taskbar Icon doesn't match Application Icon when using a Soortcut

I wrote a program that monitors my Documents Folder and every time a file that matches my criteria is saved, it makes a copy in the selected backup folder. I added code that blinks the Icon a few times so I know that the file was backed up. The blinking…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,780 questions
asked 2025-01-19T16:45:52.3333333+00:00
Devon Nullman 20 Reputation points
commented 2025-01-23T15:53:05.38+00:00
Dewayne Basnett 1,371 Reputation points
1 answer

In a Class change console message for textbox message yes or no, VB2017 Vb.Net

I want to delete a table in a database if it exists, with a textbox (yes or no) to create a new one programmatically. If the table exists "delete it" with the condition (yes), if this table does no exists with option no create a new one. For…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 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,780 questions
asked 2025-01-18T03:51:01.44+00:00
MannySo 25 Reputation points
answered 2025-01-20T02:16:39.83+00:00
Jiachen Li-MSFT 33,451 Reputation points Microsoft Vendor
1 answer

VS 2019 always crashes whenever I try to open this one solution

I am tasked with maintaining an old VB.NET ASP.NET WebForms application. It has 9 projects within the solution. It is at least 15 years old, which is longer than I have been employed in this position. None of the original developers are around. They left…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,594 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,780 questions
asked 2025-01-10T20:34:16.4966667+00:00
Falanga, Rod, DOH 245 Reputation points
commented 2025-01-16T20:10:13.3866667+00:00
Falanga, Rod, DOH 245 Reputation points