2,637 questions with VB-related tags

Sort by: Updated
2 answers One of the answers was accepted by the question author.

Process.Start() is not working for VB Forms application

Hi, I am using command line syntax and saving output as text file using ">" switch to current user profile as: wmic product get Description, InstallDate, Version > C:\Users\%UserName%\Documents\AppList.txt When I use the same command…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,637 questions
asked 2020-12-09T12:26:07.563+00:00
~OSD~ 2,131 Reputation points
commented 2020-12-10T12:11:23.65+00:00
~OSD~ 2,131 Reputation points
2 answers

Disk Detection and Drive Leeters Assignment in VB.Net

Hi, Currently I am using Diskpart (Windows command line utility) to manage disks and assign drive letters. Disk 0 is present almost 99.99% scenarios, however, I need to check for the disk 1 and disk 2 all the time. If disk 1 is present,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,547 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,637 questions
asked 2020-12-09T09:28:06.457+00:00
~OSD~ 2,131 Reputation points
answered 2020-12-10T02:35:36.55+00:00
Xingyu Zhao-MSFT 5,356 Reputation points
2 answers One of the answers was accepted by the question author.

App Crashing on First Open with error Faulting module name: USER32.dll, version: 10.0.18362.1171, time stamp: 0x13516cf1 Exception code: 0xc0000005

The error is: Faulting module name: USER32.dll, version: 10.0.18362.1171, time stamp: 0x13516cf1 Exception code: 0xc0000005 Fault offset: 0x000000000000afd5 Faulting process id: 0x1dcc I am at a loss. I recently installed this same application for…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,637 questions
asked 2020-12-03T20:50:22.407+00:00
Paul Bill 66 Reputation points
accepted 2020-12-09T20:42:34.993+00:00
Paul Bill 66 Reputation points
14 answers One of the answers was accepted by the question author.

What is this error (process 16500) exited with code -1073740940. ?

Hi, When I build my small Visual Basic Console program I get this message on the console; " H:\My Program Projects MS VS 2019 Community\Swe_Version Function Testing\bin\Debug\netcoreapp3.1\Swe_Version Function Testing.exe (process 16500)…

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
325 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,637 questions
asked 2020-12-08T11:59:07.78+00:00
VKSB 236 Reputation points
accepted 2020-12-09T19:34:42.053+00:00
VKSB 236 Reputation points
2 answers One of the answers was accepted by the question author.

VB 2010 App w/ Report viewer upgrade to VB 2019 Professional

I have a VB 2010 App that uses Report Viewer 2010. The app compiles and runs properly when deployed. I now have VB 2019 and have opened my VB 2010 App with it. The App, including the generation of the Report Viewer report runs properly. However, if I…

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,853 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,637 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
961 questions
asked 2020-12-07T18:24:15.633+00:00
Duggan, Daniel 96 Reputation points
accepted 2020-12-09T18:02:09.877+00:00
Duggan, Daniel 96 Reputation points
2 answers One of the answers was accepted by the question author.

Copy data from DataGrid View to another

hi I want to copy data from DataGrid View to another, as follows The second DataGrid View contains 8 columns, they are actually a duplicate of the first DataGrid, but in order for the data to be grouped next to some What do I want to collect data from…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,637 questions
asked 2020-12-08T09:03:26.237+00:00
ahmedAlie 161 Reputation points
commented 2020-12-09T11:32:26.673+00:00
ahmedAlie 161 Reputation points
2 answers

Problem in SQL backup code via network

Hi all , I have 2 machines (The first PC is "MSServer" that hosts a SQL Server Express 2017 and the second PC hosts my VB.net App.) every thing is Okay. But suddenly i realized that my backup code on the second PC is backed up a wrong data,…

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,122 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,637 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,584 questions
asked 2020-12-08T10:01:37.033+00:00
Amr_Ali 136 Reputation points
commented 2020-12-08T19:01:41.543+00:00
Amr_Ali 136 Reputation points
1 answer One of the answers was accepted by the question author.

Print Preview and Print DataGridView

I have DataGridView with a database attached, is there any way to print data from it with print preview?

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,637 questions
asked 2020-12-07T19:18:34.223+00:00
DRGAGI 146 Reputation points
commented 2020-12-08T16:53:03.593+00:00
DRGAGI 146 Reputation points
2 answers One of the answers was accepted by the question author.

Changing HTML controls to be Compatible with ASP.NET code

I have imported a page from a HTML template into an VB.NET asp.net web form. However, I've found out that the controls in the web form are different then those that can be dragged in the toolbox. What this means is that there is no VB.NET server-side…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,386 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,637 questions
asked 2020-12-03T01:58:35.753+00:00
blinkor12 101 Reputation points
accepted 2020-12-08T16:27:48.007+00:00
blinkor12 101 Reputation points
7 answers

Copy Files and Folders from CURRENT directory to User Home Folder VB.Net

Hi, Is it possible to use "Current Directory" as source (instead of full /absolute path) to copy file /folder to current user profile? Source: C:\myData\Backups\Latest**UserBackup**\SavedData\StdDoc.txt <Instead of using the whole path,…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,637 questions
asked 2020-12-04T09:00:50.813+00:00
~OSD~ 2,131 Reputation points
answered 2020-12-08T14:53:36.267+00:00
Cory Smith 11 Reputation points
10 answers One of the answers was accepted by the question author.

Is there a list (of string) or equivalent in VB that I can configure to only hold x entries and then overwrite oldest

Is there a list (of string) or equivalent in VB that I can configure to only hold x entries and then overwrite oldest each time I add something new to it? e.g. I can set it to hold say 25 items, and then if I add a 26th item it overwrites the first…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,637 questions
asked 2020-12-05T13:56:26.65+00:00
Darren Rose 496 Reputation points
commented 2020-12-07T20:40:18.6+00:00
Darren Rose 496 Reputation points
2 answers

Include Datagridview or Datatable as part of Class object?

Hallo, I would like to know is there a way to make datagridview or datatable as part of the object. I have a class and i want to include a datagrid view with some rows and columns so user can type their values and comments and only rows with user…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,637 questions
asked 2020-12-06T11:13:50.71+00:00
Hobbyist_programmer 621 Reputation points
commented 2020-12-07T13:48:37.23+00:00
Peter Fleischer (former MVP) 19,306 Reputation points
0 answers

VB.net RDLC report error in client side while set RDLC reference assembly

Help I create a setup and install it at local, it runs perfectly. But When using the client pc to access it, the RDLC report forces my application to shutdown. In order to check the problems, I had tried: RDLC report with no reference…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,637 questions
asked 2020-12-05T07:20:48.32+00:00
Soh Chem Seng 1 Reputation point
commented 2020-12-07T08:00:03.85+00:00
Xingyu Zhao-MSFT 5,356 Reputation points
1 answer

reading data from a USB port using VB.net and Visual Studio Community - windows Forms application

I need to read lines of data coming in on a USB port. I am using VB.net and Forms. In the toolbox, there is a 'SerialPort' control which I placed in my Form1.vb[Design] window. I am using the 'DataReceived' event and the event handler test 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,637 questions
asked 2020-12-02T18:02:56.24+00:00
Lloyd Linnell 1 Reputation point
answered 2020-12-07T05:52:43.75+00:00
Xingyu Zhao-MSFT 5,356 Reputation points
3 answers

How to add a wildcard on a VB Script

Hi, I am using this vbscript in SCOM to monitor the existence of a file. It works without a wildcard, but when I add a wildcard it doesn't work. I also need to find the existence of 2 different filenames with wildcards within the same location. Dim…

Operations Manager
Operations Manager
A family of System Center products that provide infrastructure monitoring, help ensure the predictable performance and availability of vital applications, and offer comprehensive monitoring for datacenters and cloud, both private and public.
1,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,637 questions
asked 2020-12-05T08:37:10.203+00:00
javad 1 Reputation point
answered 2020-12-07T04:06:59.127+00:00
AlexZhu-MSFT 5,551 Reputation points Microsoft Vendor
6 answers One of the answers was accepted by the question author.

Bind or show object properties values in datagridview rows?

Hallo I am looking for a way to bind object properties to data grid view row items . for example i have sample class like blow Public Class Sample Public Readonly Property Prop1 as integer Public Readonly Property Prop2 as integer End Class and a…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,637 questions
asked 2020-12-04T22:55:45.677+00:00
Hobbyist_programmer 621 Reputation points
commented 2020-12-06T12:22:58.527+00:00
Karen Payne MVP 35,286 Reputation points
3 answers One of the answers was accepted by the question author.

Auto number increment

Hello everyone, i have issues with auto increment in DataGridView row count. As i adding columns in table, i get numbers of rows in right order, but when i delete a row, for example number 4, my ID skip reordering and continue to add next number of 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,637 questions
asked 2020-12-03T21:20:23.24+00:00
DRGAGI 146 Reputation points
commented 2020-12-04T21:33:27.757+00:00
DRGAGI 146 Reputation points
2 answers One of the answers was accepted by the question author.

How to pass class as variable?

Hallo, I have code something like this, Dim C1= CType(Form1.BS_Classes.Current, Class1) Dim value As Integer = C1.Class2.Sum(Function(x) x.Property1) I have many classes or custom objects inside Class1. How do i pass them in a loop so that it goes…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,637 questions
asked 2020-11-28T20:34:56.71+00:00
Hobbyist_programmer 621 Reputation points
accepted 2020-12-04T14:10:13.237+00:00
Hobbyist_programmer 621 Reputation points
3 answers

Progress bar based on exe running process on task manager

Hi Everyone, I tried to code for progress bar based on running .exe file on the task manager. If the file run, the progress bar will appear and when it done, the progress bar will finish. Thank You very much for your help and answer Best Regard …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,798 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,637 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
991 questions
asked 2020-12-02T07:56:23.947+00:00
M Indra Ruslan 241 Reputation points
commented 2020-12-04T09:33:35.98+00:00
Viorel 114K Reputation points
2 answers

getting just profile name from profile path

Hi I have a list of profile paths, and I want to remove the c:\users\ and just keep the profile name Things to consider - if run on a computer with a different language then I assume it is not always called c:\users\ The list of profiles are not…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,637 questions
asked 2020-12-03T21:15:44.847+00:00
Darren Rose 281 Reputation points
answered 2020-12-03T21:49:56.543+00:00
Darren Rose 281 Reputation points