2,722 questions with VB-related tags

Sort by: Updated
1 answer

VBscript not running on windows server 2019

Hi All, Our VB Script has been integrated with SSIS package as script task and it work in fine in visual studio IDE . However, it is getting failed to run same VB script block in windows server 2019 environment inside SSISB as a SSIS Package. Please…

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,772 questions
SQL Server Migration Assistant
SQL Server Migration Assistant
A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.
532 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,722 questions
asked 2024-10-01T22:49:57.54+00:00
MasterSQL 0 Reputation points
commented 2024-10-02T11:04:59.2233333+00:00
MasterSQL 0 Reputation points
2 answers

VS 2022 Copy and Paste form feature Broken?

Hi All, When I copy and paste a form between folders in visual studio 2022, the class names in BOTH forms are updated when I rename the pasted form. I am not given the option to manually update the class name. Is this a bug in VS 2022? To fix the…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,722 questions
asked 2022-05-18T22:09:48.67+00:00
Phill 61 Reputation points
answered 2024-10-02T02:26:11.8766667+00:00
arun kumar 0 Reputation points
1 answer

Reading log details from text file

Hi, I have a application log files in text format and want to read start/end time of a particular job from text file and then put it into an excel file with VB Script. Let me know if any further clarification or info. is required. Thanks

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,883 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,722 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,893 questions
asked 2024-09-27T12:27:20.6933333+00:00
PATEL Prashant Kumar 20 Reputation points
edited the question 2024-09-30T01:43:46.56+00:00
Emi Zhang-MSFT 24,986 Reputation points Microsoft Vendor
2 answers

Having issue with Keyword not supported: 'trust server certificate in Visual Studio VB

Hi. I'm trying to run VB code in visual studio form project but get an error when code is trying to run. Error is: "System.ArgumentException: 'Keyword not supported: 'trust server certificate'.'". The line in code affected is: Data…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,722 questions
asked 2023-08-11T17:02:43.75+00:00
Cesar Rivas 0 Reputation points
commented 2024-09-29T20:38:21.7066667+00:00
Ranil Fernando 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to get the tooltip value when hovering the mouse anywhere on the desktop

I'm working on a VB project and I need to capture the tooltip value when hovering over the desktop. Can someone help me figure out how to do this? Is this reversible?

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,609 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,722 questions
asked 2024-09-29T06:03:39.5933333+00:00
Mansour_Dalir 1,876 Reputation points
commented 2024-09-29T12:53:17.42+00:00
Castorix31 85,116 Reputation points
2 answers

How to Fix: Method "Form1_Load" not Found

just got started using visual basic and I don't know how to fix this

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,889 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,722 questions
asked 2024-09-27T04:32:34.6266667+00:00
Kaz 0 Reputation points
edited an answer 2024-09-27T07:55:12.11+00:00
Jiachen Li-MSFT 31,166 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Help creating shortcut with arguements

I have a process that creates shortcuts for startup and desktop for individual or all users. In this I app I am trying to create a shortcut with arguments. The section of my code I am having an issue with is below: Dim program_path as string =…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,722 questions
asked 2024-09-25T13:31:59.1766667+00:00
Lashway, Ryan 20 Reputation points
commented 2024-09-25T14:17:35.7266667+00:00
Lashway, Ryan 20 Reputation points
2 answers One of the answers was accepted by the question author.

How to pass the region on Graph SDK Search method

I am currently working on a WinForms application that interacts with our SPO environment, using the Graph SDK. The application is written in .NET 4.7.2, and uses the “Microsoft.Graph” (SDK) 4.19.0. Simplified code: Dim srObject As New…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,834 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,994 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,722 questions
asked 2024-08-16T07:19:03.77+00:00
Tim Tegenbosch 20 Reputation points
edited the question 2024-09-25T09:55:09.8866667+00:00
Xyza Xue_MSFT 24,716 Reputation points Microsoft Vendor
1 answer

warning BC40056: Namespace or type specified in the Imports 'System.Windows.Devices.Bluetooth' doesn't contain any public member or cannot be found.

Hello, I have a project on visual studio 2022 that I'm trying to build but it's showing me import errors that aren't supposed to be there. I've tried everything, looked for solutions, installed SDKs, updated my PC, but nothing. I've also tried with a PC…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,722 questions
asked 2024-09-20T12:49:04.8433333+00:00
The ArtistB 0 Reputation points
commented 2024-09-23T09:39:46.19+00:00
Jiachen Li-MSFT 31,166 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Multiline asp:textbox (into a asp:gridview) auto adjust it's height according to the amount of text

Hi forums, I would like to consult about a issue I am facing. I have a gridview where there is a textbox that is filled from a SQL DB when such info is called from a click event, but I want to adjust the height according to the amount of text is pushing…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,834 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,482 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,722 questions
asked 2024-09-22T01:38:55.3866667+00:00
José Santos 20 Reputation points
edited the question 2024-09-23T07:10:08.8933333+00:00
Jiale Xue - MSFT 44,926 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,722 questions
asked 2024-08-31T18:03:29.61+00:00
Devon Nullman 20 Reputation points
commented 2024-09-21T01:04:48.07+00:00
Devon Nullman 20 Reputation points
3 answers

Regex.Matches Idn

Hello I'm using this to collect emails from string: Dim mc As MatchCollection = Regex.Matches(src, "([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,9})", RegexOptions.CultureInvariant Or RegexOptions.IgnoreCase Or…

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,904 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,722 questions
asked 2024-08-01T12:02:02.1266667+00:00
StewartBW 1,145 Reputation points
answered 2024-09-20T17:50:42.9366667+00:00
Bruce (SqlWork.com) 64,901 Reputation points
1 answer

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,722 questions
asked 2024-09-19T12:01:49.47+00:00
Shahab a 261 Reputation points
edited an answer 2024-09-20T03:01:58.44+00:00
Jiachen Li-MSFT 31,166 Reputation points Microsoft Vendor
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,834 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,722 questions
asked 2024-09-08T07:32:14.84+00:00
Jean Alyssa Vallez 0 Reputation points
commented 2024-09-20T02:30:06.7633333+00:00
Jiachen Li-MSFT 31,166 Reputation points Microsoft Vendor
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,834 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,099 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,722 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.
214 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 20 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,834 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,722 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,722 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,834 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,722 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,166 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.
840 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,722 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,501 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,834 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,722 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,531 Reputation points Microsoft Vendor