Problem with DataView code in vb 2012
I am new to this coming from VB5. I am getting the exception message "DataTable must be set prior to using DataView" on the first line of my code below. What is the code I need to set the DataTable?? I...
View Article[RESOLVED] multi dimensional array project help
I have a couple problems i'm not sure how to solve. Under function process string, i'm taking a line of string from a notepad, using split to split up the numbers, and then trying to store them in a...
View Articlesubstring, index of, and array beginners help
Please help. I need to take a string separated by commas, and divide up the numbers to store into an array. I cant seem to figure out why it isn't working. I'm pretty sure the part where I store the...
View ArticleRacing game VB10
so i am making a racing game in VB10 and i cant seem to find out how to make the game stop when it reaches specific coordinates. for example, the picturebox4 would win at the coords of (0,66). I have...
View ArticleVS 2010 Trouble working with browser page
hi Am having a lot of trouble trying to get what sounded like a straightforward piece of browser customising functionality working, wondering maybe whether anyone can point me at some example code? The...
View ArticleVS 2010 Methods
Hi all First post and very new to VB. Trying to finish the construction of a method (design code) before it is implemented in VB. The method should removes all non-letter characters from an input...
View ArticleVS 2010 [RESOLVED] How to detect which label was clicked in common eventhandler
I design labels dynamically and add them to a Panel. I use AddHandler to create a single handler to deal with them all and the handler works. If I click a label, it shows the MessageBox. However, I...
View ArticleVS 2010 Fake/virtual mouse (duplicate mouse) inside of app's GUI
I don't know how to explain this very well. But, is it possible to make another mouse to run independent inside of your app's GUI? I mean, make a virtual mouse to run inside of it and interact, instead...
View ArticleTesting, Testing! Putting LINQ Through The Wringer
So I did these preliminary tests using a 2.6MB text file with 240000 entries length 2 to 20, selecting the 13,000 + entries of length 5. 1-3 used System.IO.File.ReadAllLines to populate array (words),...
View Article[RESOLVED] Can I use hidden data ina DataGridView
Hello, I am pretty new to DataGridView and I have a question. I managed to display the content of a database in a DGV and I've hidden the column ID which is the Index of my database. Now, this Index is...
View ArticleVS 2010 [RESOLVED] Creating and Writing to Text File
I'm having trouble creating a text file, and writing a stored integer to it as a save text file. What I have is: (I've imported System.IO already) Dim id As Integer Dim writer As StreamWriter writer =...
View ArticleVS 2010 [RESOLVED] Load Image Based on Database Filename
This may sound confusing at first, but is there a way to display an image in a picturebox from a file directory, based on the image's filename in a database? For example, one of the fields in my...
View ArticleVS 2008 [RESOLVED] Reading
Hi all , I've been working with huges string lately and I've noticed something. I want to store around 9 chars into an array. Then create skip to next array and store 9 more chars but the string lenght...
View ArticleVS 2008 Update List of T
If i had a list (of customers) where customers was a structure with a few fields in it. What would be the best way to update one field in one of the list items ? Thank you.
View ArticleBest way to high light areas on a picture
Looking for advice on the best way to handle this: Have a main picture and I want to high light certain areas (around 30) on the picture. I would like to high light with a round circle, and that circle...
View ArticleVS 2010 need to create a running total
I am still in the learning process with VB 2012. I have to calculate a total for a purchase. Everytime the user enters a price and clicks the add to sale button, it adds that price to the running total...
View ArticleBetween Months,Days increment by 1..
if i have 1 day..why it is increment to 1 this happens if i have month and days or include all year,months and days..year and day looks fine.2years 2 days=2 years 2days ..or if i enter 1 days only it...
View ArticleVS 2010 [RESOLVED] .Net Module fixing bugs (Reading text file)
Attachment 94103 Hello, I am new Programmer, I have done a simple program that can read text file, I am having a little bug in the code which I cannot proceed. Here is my text file to read: 0#Goodnight...
View Article[Help] Sockets
Hello everyone! I have definitely lost a lot of my knowledge of VB and VC#, so I was hoping someone could help me clean up/speed up an old socket program of mine. Pretty much what it did was allow for...
View ArticleVS 2010 Changing and Restoring Background Color
On my forms I would like to change the background color of my controls when they receive focus, then restore it to the system color once focus is lost. The GotFocus portion works, but the LostFocus...
View Article