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)…
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…
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…
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,…
Print Preview and Print DataGridView
I have DataGridView with a database attached, is there any way to print data from it with print preview?
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…
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,…
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…
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.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…
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…
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…
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…
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…
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…
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 …
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…
How to auto calculate two rows into third one in datagridview table who uses access database
I insert Access database into Visual Studio Basic. I have put datagridview on the form who uses same database. What i am ask is: How to auto calculate one of the row cell as product of another two, within same datagridview, same database. When you enter…
Special variables declarion and saving output in vb.net
Hi, I am using following code but stuck with variable declaration %UserName% and saving output in text file with ">" Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim get_AppxList As New…
Datagridview as dataentry facing issue
Hi, Please I am using following code in vb.net in order to move datagridview cursor to move to next cell upon enter key, I am facing problem that when cell reached to last column upon enter its insert new row into datagridview before first row which is…