2,774 questions with VB-related tags

Sort by: Updated
0 answers

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,082 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,260 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,774 questions
asked 2025-01-31T15:21:55.1666667+00:00
The Master 0 Reputation points
0 answers

VBA Outlook: AddressList.AddressEntries collects only the first 500 entries of address list

I am using O365 classical outlook on Windows 10 Considering classical VBA code bellow, AddressList.AddressEntries only collects the first 500 entries. Indeed, browing "All Users" global list in Outlook AddressBook Window, I see the same last…

Outlook
Outlook
A family of Microsoft email and calendar products.
4,384 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,774 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,200 questions
Microsoft Exchange
Microsoft Exchange
Microsoft messaging and collaboration software.
656 questions
asked 2025-01-31T14:27:35.2533333+00:00
MEUNIER Philippe 0 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,774 questions
asked 2025-01-30T15:33:27.5266667+00:00
Senthil Kumar Sudanthiran 0 Reputation points
accepted 2025-01-30T16:32:27.51+00:00
Senthil Kumar Sudanthiran 0 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,260 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,774 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,296 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,398 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,774 questions
asked 2025-01-29T17:09:58.67+00:00
SuperCoder 196 Reputation points
commented 2025-01-29T21:52:42.75+00:00
SuperCoder 196 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,774 questions
asked 2025-01-28T10:40:39.7233333+00:00
PKL PKL 0 Reputation points
answered 2025-01-29T01:12:16.9533333+00:00
Jiachen Li-MSFT 33,296 Reputation points Microsoft Vendor
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 myname@test.com, exits

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
2,126 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,774 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,200 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,599 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 13,940 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.
82 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,877 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,774 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 1 Reputation point 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,774 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,774 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,082 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,774 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,296 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,585 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,774 questions
asked 2025-01-10T20:34:16.4966667+00:00
Falanga, Rod, DOH 265 Reputation points
commented 2025-01-16T20:10:13.3866667+00:00
Falanga, Rod, DOH 265 Reputation points
2 answers

Where can a commercial license purchased for Visual Basic 6?

We need a commercial license for VB6. Is there any way to purchase one?

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,774 questions
asked 2025-01-14T19:01:45.19+00:00
Holger Boskugel 0 Reputation points
answered 2025-01-15T06:54:22.26+00:00
Olaf Helper 45,776 Reputation points
2 answers One of the answers was accepted by the question author.

How do I update DBContext after adding new table to SQL database?

We added a new table to our SQL Server database called Occupation. From the ASP.NET Web Form project, I can not seem to access it. Imports System.Data.Entity Public Class CCDBContext Inherits DbContext Public Sub New() …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,585 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,774 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,685 questions
asked 2025-01-11T17:50:11.4366667+00:00
Joe Pool (Heartland) 20 Reputation points
commented 2025-01-13T14:35:25.85+00:00
Joe Pool (Heartland) 20 Reputation points
3 answers One of the answers was accepted by the question author.

search in DataGridView

Hello experts I need to select some DataGridView rows based on the user text input, some sort of search, so: For loop As Integer = 0 To DataGridView.Rows.Count - 1 If DataGridView.Item(0,…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,774 questions
asked 2024-06-20T05:13:49.44+00:00
StewartBW 1,155 Reputation points
commented 2025-01-12T18:18:13.9633333+00:00
William César Pádua Ribeiro 0 Reputation points
3 answers

How to use WPF Mouse.OverrideCursor in a VB.NET application

I tried a sample WPF code, that Kareninstructor recommended to me, from https://github.com/karenpayneoregon/visual-basic-getting-started/tree/master/ChangeCursor to test the usage of Mouse.OverrideCursor - this worked beautifully. However, it is a…

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,820 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,774 questions
asked 2021-01-27T21:30:00.707+00:00
Jim Webb 41 Reputation points
edited the question 2025-01-12T17:42:01.4666667+00:00
TP 102.2K Reputation points
1 answer One of the answers was accepted by the question author.

Can I backup my programming some easy way?

Two years ago I lost all my programming that I worked on for two years. Apparently, when you start a new project in VS, the old project is lost. I tried to get it back, but never found it. So I quitted using VS and programming. Yesterday, I decided 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,774 questions
asked 2021-02-06T08:38:28.607+00:00
dick zelvelder 21 Reputation points
commented 2025-01-07T21:41:35.51+00:00
Loshento 0 Reputation points
1 answer One of the answers was accepted by the question author.

Must declare the scalar variable "@n"

Receive the above error generated by the code below. Dim objCommand As SqlCommand = New SqlCommand Dim Connection1 As New SqlConnection(ConnectionString) objCommand.CommandText = "UPDATE names " & "SET n.cc_date = @n.cc_date,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,082 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,398 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,774 questions
asked 2025-01-07T16:18:18.84+00:00
SuperCoder 196 Reputation points
commented 2025-01-07T18:00:28.9566667+00:00
Dan Guzman 9,256 Reputation points
3 answers One of the answers was accepted by the question author.

how is way to create menus on a aspx page

i am using vb.net 2022 and renamed the extantion of a form to aspx now how is posible to create menus on this page

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,585 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,774 questions
asked 2024-12-03T15:17:52.7933333+00:00
Simon 366 Reputation points
edited the question 2025-01-02T02:24:29.3233333+00:00
Jack J Jun 24,631 Reputation points Microsoft Vendor
1 answer

error in visual studio regarding "object reference not set to an instance of an object" while making vb.net project

regarding "object reference not set to an instance of an object" while making vb.net project

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,082 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,397 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,774 questions
asked 2024-12-21T18:48:00.0333333+00:00
harshit singh 0 Reputation points
answered 2025-01-01T08:31:32.6666667+00:00
Jiachen Li-MSFT 33,296 Reputation points Microsoft Vendor