Quantcast
Channel: VBForums - Visual Basic .NET
Browsing all 27189 articles
Browse latest View live

VS 2010 Handshake between 2 threads.

Hi all, in my application, there are multiple threads. The 1st threads will move the motor from point to point and read back the position of the motor after every point movement and this will keep...

View Article


Image may be NSFW.
Clik here to view.

VS 2010 Form Printing

I there, I have developed a form and my customer wants print as i have attached with this topic. Please advise me how to print it. Thanks Ladak Attached Images   

View Article


Image may be NSFW.
Clik here to view.

VS 2010 Need Coding Help to edit my login form

This project (code) is working correctly, in order to make it perfect I want to do some adjustments. I want to insert error messages for each textbox and combo box, that is I want to put error message...

View Article

Creating Lists from a Dictionary

Hi, I’ve just started using Visual Basic 2010 so I hope I am posting on the correct forum. I’ve created a dictionary with four key value pairs. I need to use a read only property List to create a list...

View Article

Using DLL References

Hi All, I've had to add a reference from a DLL into my project which has left me needing to have Interop.GPMGMTLib.dll in the same directory as my application every time I'm wanting to use certain...

View Article


Image may be NSFW.
Clik here to view.

Last stage of a 3 years project

Basically about 3 years ago I started with programming and to learn faster the basics I started a simple program, 3 years later I finish it, most of it, but there is a problem that I just can't get...

View Article

VS 2010 Using a DataGridViewComboBoxColumn

Hi, I have a datagridview with a number of columns that are bound when I set the datasource to my datatable. One of the columns I create in the datagridview is a datagridviewcomboboxcolumn. As I...

View Article

VS 2012 For Each, If statements, and WebBrowser manipulation problem

Right, I already had a topic relating to this but it never went anywhere, so i am hoping some of you will help me with this as i explain step by step what i am trying to do. Now since i am having...

View Article


VS 2008 msgbox

I have a situation where I am reading through a file line at a time, and based on certain criteria the program goes to look up in a different file some more information based on the original file and...

View Article


Backgroundworker for methods e.g. retrieve folder recursively

Hi, Is it possible to use backgroundworker for method instead of controls? Somehow this statement will take a long time to execute > Directory.GetFiles("C:\", "*", SearchOption.AllDirectories Code:...

View Article

VS 2010 Auto Inject string

Hey guys I'm trying to automatically inject password at windows logon screen by using a thumb drive. I tried but for some reason the string wasn't being inserted into the field. All help appreciated.

View Article

How to click on a java button using VB 7

I'm trying to run a vb command that will fill in the user ID & password then click on the sign on button. I can get the user id field and password to fill but having a problem with the click on...

View Article

SQL Select using column numbers

Can you select rows from a table using SELECT * from TABLENAME where COLUMN NUMBER = X or do you have to use the column name? I have not been able to find the correct syntax if this is possible.

View Article


VS 2010 Assembly Embed in VB.Net

Hey, I am using this function to embed assembly into my application. It works perfect in my another Application. It doesnt have spaces in application name.. but my new application have a space in...

View Article

vs 2010 vb adding a date function to a dataset column expression

Trying to add a date function to a dataset table column expression but 'Property Value not Valid' error results. I want to have a calculated column in a dataset that gets the current date then use this...

View Article


Where/What is this "Global" stuff and how do I recreate it for another form.

Below is a code snippet that exists in my VB2010 program. I accessed it using the search function and the word "holding". It found the word near the bottom of the snippet. It (the strange place that I...

View Article

Can I return a bitmap or is it a copy?

I have a class where a member is a Bitmap. When I create the object, the constructor requires me to load the Bitmap. I created a ReadOnly Property that returns this Bitmap, like this... Code:...

View Article


Is there a way to make sure the VB net application is completely shut down?

Hi there everyone. I am migrating a VB6 prog to Vbnet, and I am looking for a way so when I press the exit button on the form, it will unload the form, and all other instances of the .exe file if there...

View Article

IS there a way to make a picturebox array?

Hi there! I am migrating an old VB prog to vb net, and I used picturebox arrays in the old one. I foundthe button to make a picturebox, but is there a place to make an array like you know when you take...

View Article

VS 2010 Sorting Excel sheets in alphabetical order

Hi guys, Basically I'd like to arrange Excel sheets in alphabetical order using vb.net. In this code: vb.net Code: Dim xlApp As Object = CreateObject("Excel.Application")        Dim xlBook As Object =...

View Article
Browsing all 27189 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>