2,715 questions with VB-related tags

Sort by: Updated
1 answer

Can't launch my app because of 'you must install .NET Desktop Runtime' popup

Hi everyone, I'm trying to run my application I've just installed on my computer but I'm having an issue with my .NET Runtime. I've been debugging this application in Visual Studio Community 2022 v17.10.2 and it works fine when I start it through Visual…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 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,059 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,715 questions
Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
212 questions
asked 2024-06-12T15:25:22.23+00:00
Connor Frayne 25 Reputation points
commented 2024-09-19T16:52:08.9633333+00:00
Larry C 0 Reputation points
0 answers

Help with Creating a Custom DataGrid in Vb.net

Hello everyone, I am writing a program using Visual Basic .NET. I would like to have a custom DataGrid that meets the following conditions: In the Edit Columns - Bound Column Properties section, I want to have several properties as follows: IsNumeric,…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,715 questions
asked 2024-09-19T12:01:49.47+00:00
Shahab a 261 Reputation points
commented 2024-09-19T14:16:47.7166667+00:00
Slartibartfast 0 Reputation points
3 answers

How to convert vb6 application to vb.net with minimal effort

How to convert vb6 application to vb.net with minimal effort. Could you please describe the details?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 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,715 questions
asked 2023-07-03T11:31:38.7333333+00:00
Martin Mathew(UST,IN) 0 Reputation points
commented 2024-09-16T15:15:13.8833333+00:00
twinBASIC programming 0 Reputation points
3 answers

Converting a VB 6.0 project to VB 2010

What steps do I need to take in order to convert my Visual Basic 6.0 project to VB 2010? Are there any tools or resources that can help me with this process?

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,715 questions
asked 2023-11-18T12:08:26.7+00:00
Amar Bhusanur 0 Reputation points
commented 2024-09-16T13:39:48.75+00:00
twinBASIC programming 0 Reputation points
1 answer

Migrate VB.Net application from .Net 4.7 to .Net 8

Hi, Context: I have an application where the back-end is written in vb.Net and is running on .Net 4.8. As they are mostly back-end, they are either consol or dlls. Due to the history of the application, the front end is in ms Access! There are a few…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 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,715 questions
asked 2024-09-05T08:03:19.53+00:00
Prat 0 Reputation points
commented 2024-09-16T06:21:17.12+00:00
Jiachen Li-MSFT 31,011 Reputation points Microsoft Vendor
0 answers

How to fix an Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))

HI, Started with a .docm template document , I'm invoking, from Powershell , Word to update fields read from a .csv to update letters sent to a lot of destinees , by the way of a VBA macro , then the .docx generated document is in a .pdf. Then ,I…

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
822 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,715 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,468 questions
asked 2024-09-12T16:15:39.69+00:00
Jean-Pierre Ribeauville 80 Reputation points
commented 2024-09-13T08:10:12.73+00:00
Jean-Pierre Ribeauville 80 Reputation points
2 answers

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,808 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,715 questions
asked 2024-09-04T01:33:12.8966667+00:00
Marc Menzel 61 Reputation points
commented 2024-09-13T07:46:08.68+00:00
Hui Liu-MSFT 48,506 Reputation points Microsoft Vendor
4 answers One of the answers was accepted by the question author.

Customer still using Visual Basic 6

Dear, Please advise what if Customer still using Visual Basic 6. what is the best way to upgrade and to which version? and will it compatible with their current apps?

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,715 questions
asked 2021-03-30T02:18:14.217+00:00
Jessica 21 Reputation points
commented 2024-09-12T16:54:33.7+00:00
Olaf Helper 44,311 Reputation points
1 answer One of the answers was accepted by the question author.

Migrate VBA to vb6, vb.net, or c++

I have VBA code heavily integrated with Excel and it also creates shapes that will be put into a Powerpoint slide. I want to be able to create an exe file for distribution. What language is best to convert to VB.Net, VB6, C++ ?

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,693 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,715 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,708 questions
asked 2022-12-28T15:59:31.777+00:00
SouthBound 21 Reputation points
commented 2024-09-12T10:39:28.32+00:00
twinBASIC programming 0 Reputation points
3 answers One of the answers was accepted by the question author.

Tools to convert VB6 to VB.Net

I am using VS 2019. Can VB6 code be migrated to VB.Net and be opened in VS 2019? I wasn't able to open VB6 in VS 2019 as it is not supported. I tried to download interop forms tool kit but it is not available . Let me know if any other tools helps…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,059 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,715 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,342 questions
asked 2022-06-07T06:09:59.907+00:00
SaiPreetha Devendiran 26 Reputation points
commented 2024-09-12T10:35:37.12+00:00
twinBASIC programming 0 Reputation points
2 answers

Where can I find the download for Visual Studio 6

Hello, Where can I find Visual Studio 6 download for my VB6 applications? Thanks Guru

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,059 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,715 questions
asked 2024-08-29T01:08:20.7833333+00:00
Gurumurthy Iyer 0 Reputation points
answered 2024-09-12T10:08:21.46+00:00
twinBASIC programming 0 Reputation points
3 answers One of the answers was accepted by the question author.

How to write/read comma-separated data from an SQL table and load them into a datagridview column?

I want to write comma-separated string values entered in a text box to an SQL table and later fetch them from the table and load them into a data grid view column.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 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,690 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,715 questions
SQL Server Transact-SQL
SQL Server Transact-SQL
SQL Server: A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.Transact-SQL: A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
92 questions
asked 2024-09-07T16:06:21.0566667+00:00
Priyantha Niroshan 41 Reputation points
commented 2024-09-10T03:02:23.4266667+00:00
Priyantha Niroshan 41 Reputation points
0 answers

Specified argument was out of the range of valid values. Parameter name: length

I was just designing my form when this suddenly happen and I dont know what wrong did i do and when I run it the form that I was designing is still running but I cant see the form where I can edit it

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 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,715 questions
asked 2024-09-08T07:32:14.84+00:00
Jean Alyssa Vallez 0 Reputation points
commented 2024-09-09T06:53:30.52+00:00
Jiachen Li-MSFT 31,011 Reputation points Microsoft Vendor
1 answer

How to call VBA/c# code from office js without using API

There are few limitation in offcie js Excel such as reading or adding notes into the cell. I want to use VBA in these cases. How can I trigger the event or run the VBA code from office js Excel If there is any way I can invoke ribbon commands(defined in…

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,842 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
975 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.
10,858 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,715 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,861 questions
asked 2024-09-03T19:53:32.8433333+00:00
Mahi Deo 0 Reputation points
answered 2024-09-05T12:03:19.6533333+00:00
Jan Karel Pieterse 1 Reputation point
1 answer One of the answers was accepted by the question author.

UIAutomation Throwing exception message : Operation is not valid due to the current state of the object.

code: tabElement is a control that requires operation and has not been disabled. exception message : **System.InvalidOperationException:**Operation is not valid due to the current state of the object. …

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,715 questions
asked 2024-08-30T03:36:28.63+00:00
Liu Hao 20 Reputation points
accepted 2024-09-05T03:30:19.27+00:00
Liu Hao 20 Reputation points
1 answer One of the answers was accepted by the question author.

How to retrieve clipboard format and data from any application

How can I use Visual Basic (VB) to retrieve the format and data stored on the clipboard of any running application? I want to build a tool that extracts this information. As you can see in the program, I copy and paste the rectangle. I want to retrieve…

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,592 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,715 questions
asked 2024-08-31T17:49:36.1866667+00:00
Mansour_Dalir 1,856 Reputation points
edited a comment 2024-09-04T03:46:09.28+00:00
Mansour_Dalir 1,856 Reputation points
2 answers One of the answers was accepted by the question author.

How to create the MouseDown event on the desktop screen

How can I create a MouseDown event on the desktop screen using Visual Basic? I want to trigger a specific action when the left mouse button is clicked. Any suggestions or examples would be appreciated. I got such a response, but it is not possible to…

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,592 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,715 questions
asked 2024-09-03T05:56:47.2033333+00:00
Mansour_Dalir 1,856 Reputation points
edited a comment 2024-09-03T09:26:47.78+00:00
Mansour_Dalir 1,856 Reputation points
1 answer

Problem with ressource data

I have a problem with my webbrowser project. Visual Studio is thinking, that my ressource File Form1.resx isn't existing. When I look at the project file explorer, I see my Form1.resx. Form1.resx Error: Complete Source code of Form1.vb

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,715 questions
asked 2024-09-02T20:47:38.87+00:00
Phi Star1 0 Reputation points
answered 2024-09-03T07:37:15.65+00:00
Jiachen Li-MSFT 31,011 Reputation points Microsoft Vendor
2 answers

Getting an exception using a background worker

Source and Destination are both bitmaps that are the same size hgt and wid are the height and width of the images minus 1 Here's the background worker Code: `Private Sub BGWProcess_DoWork(sender As Object, e As DoWorkEventArgs) Handles…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,715 questions
asked 2024-08-31T18:03:29.61+00:00
Devon Nullman 20 Reputation points
answered 2024-09-02T10:43:23.9966667+00:00
Jiachen Li-MSFT 31,011 Reputation points Microsoft Vendor
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,059 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,715 questions
asked 2021-02-10T11:23:08.673+00:00
Joachim Tentscher 21 Reputation points
answered 2024-09-02T09:00:28.3233333+00:00
Jürgen Kordon 0 Reputation points