Not listening. You must call the Start() method before calling this method.
I was using this nice little snippet of code on a Windows XP Pro machine before lunch and it worked perfectly. I then went out for a bite and came back and started testing it again. But now all of a...
View ArticleVS 2010 Set VB .Net IDE to build all projects in solution when starting...
I'm having a problem with the IDE. I have right now 5 seperate projects in my solution. The main project references 2 of the other solution projects and those compile just fine if I make changes and...
View ArticleVS 2008 printing multiple pages
So, this printing thing is blowing my mind. I work for a lab and want to print samples that are analyzed for dye. If I print one at a time by typing the sample numbers in one at a time and print each...
View ArticleHow I prevent mySQL Exception Timeout happen?
I have use VB 2008 Express function to port a big MySql database into a DataGridView table: Code: Function ScanDatabase()     Dim str_SQL As String     Dim Result As Boolean = True     If...
View ArticleVS 2010 regdb_e_classnotreg(0x80040154) Error trying to connect to Access DB
I have a program that checks for a value in an Access 2007 DB with one field and one value in one table and one field and one value in another table. It works on the other computers I've tried, and it...
View ArticleVS 2008 [RESOLVED] Linq Where Clause with Sum
I have a List of CustomerAccount called AccountsList, in CustomerAccount are a few fields which two of them are AccountInvoiceType and AccountInvoiceTypeVal. To get the total value of all the Invoices...
View ArticleVB.Net Application Internet Connection
Hello, I want to create an application that a user can use at his work location but that will need to connect to a database hosted elsewhere. I don't want this to be a website but rather a windows app....
View ArticleVS 2008 Adding background image and text to datagridview control column header
Hello, I found this code which adds an image as a column header background image. Is there a way to show the header text also? Thanks! Code: Â Â Â Â myImage = New Bitmap("c:\grd_head.png") Â Â Â Â If...
View ArticleVS 2008 Can I resize datagridview height to show all rows?
Hello, After the data is loaded in a datagridview control is there any way to resize the control to show all rows by changing the height? I need to load data and capture an image of the control with...
View ArticleVS 2008 mod math question
This makes no sense to me. The mod fuction is suppost to return the remainder of a division problem. It isn't for me. I have tried just about every combination of dim'ing the variables as doubles or...
View Article[RESOLVED] Control Transparency
I want to make a picture box transparent by using .backColor = Color.Transparent. This makes the picture box transparent through to its parent, the form. Is there a way that I can make another picture...
View ArticleVS 2012 Timers, Loops & Global Variables
I've been playing with global variables today. What I'm expecting the program to do is declare Change as "Not Changed" at the class-level. Upon clicking the button, a timer is enabled and set to an...
View ArticleCode from MS Site
I'm studying the Console.Write formatting and came across this code on the M$ website. But I can't say that I have enough experience with VB yet to copy the code therein and get it working. Can someone...
View ArticleIssue with multithreading
I'm having a strange issue with multithreading in VB.net. It'll take a bit of explanation, so bear with me. I'm writing a VB application that receives JSON messages pulled from a remote server. The...
View ArticleVS 2010 Active Directory Issue
Hi guys, Whenever I run my code I get an invalid dn syntax error? Any suggestions? I am attempting to add a newly created member to a distribution group. There does not seem to be an issue with having...
View ArticleVS 2010 How do I fix this code to output correctly?
I have code which will calculate the total price and then the change to be given back. For example when the total is $1.00 and the payment given is $5.00, the change given back is $4.00 < works fine...
View ArticleVisual Basic Homework Question
Hello All, We're using VB 2010 in class and I have listed the homework problem below 6. Write a program to provide information on the height of a ball thrown straight up into the air. The program...
View ArticleVB error- cannot cast to a number unless it is less than infinity
Hi, I'm a student who's taking a computer programming class that uses VB 2010. I have no earlier experience with VB so I'm still a beginner even though I've been in the class for about 2 months now. We...
View Articleload data into form where double click on data grid view
Hey Everyone I currently have a data grid view on on form (Form 1). The data grid has 4 visible columns on it (First Name, Last Name, Age, DOB) and 1 hidden column (ID). Can someone show me show code...
View Article256 color images
I would like to make a basic image editor program, that is limited to 256 color palette, png images. I can not find information on how to setup the image loading and saving of different image types. I...
View Article