VS 2010 Remembering Circle locations during picturebox1.invalidate
Picturebox1.Invalidate gets called a lot in my program and it makes my circles disappear. There is never more than 3 circles drawn at one time. I was thinking the easiest and less expensive way of...
View Articlecant save with folderbrowsedialog
hey all ;) i have this application which is supposed to let me save items, but it doesnt save.. the idea is simple, i have a few pictureboxes(not fixed amount). They all have Tags with their name i.e....
View ArticleRadio Buttons not working when extracting to .txt
Ok so i have to make a car rental application for a programming assignment and we have to use radio buttons that represent small,medium and large and correspond with the values for those sizes, etc(...
View ArticleOwner form closes unexpectedly
I have several forms who have their ownership set to another form. They can be launched through buttons on the owner form. However, if I have more than one open, when I close the first one created, the...
View ArticleOpening an excel file and make a macro run with Virtual Basic
Hi, Has anyone got an idea or a code how to open an excel file that contains an macro and execute that macro? So far I got to the point I can open the excel file with a code but no idea how to run the...
View ArticleCan someone please help me with this code!!! ***PLEASE HELP ME - REALLY NEED...
Hi, this is what I have to do... 1. read customer details from Customer file (e.g. record would be "John,Smith,0422123456,Yes") 2. display list of customers in list box 3. add new customer to the list...
View ArticleVS 2008 Rich Text Box endless loop
I found this code and customized it specifically for my application. All it does is change all The letter F to red in a richtextbox. It works in most cases but in certain instances, it gets thrown in...
View ArticleVS 2012 How to stop new line overwriting all existing text in text file?
When I add a new record to the Listbox from textboxes - it replaces my original text in the text file. :confused: Any ideas on why? This is what I've got... Code: Private Sub cmdAdd_Click(sender As...
View ArticleVS 2010 Need Help!
Hey, I need help, can someone tell me how to multiply the amount of characters, I'm actually at a loss of words, let me try and show you the code that I need help with. SendKeys.Send(TextBox1.Text)...
View ArticleVS 2010 What is this error?? :\ I can't seem to fix it.
ERROR: Code: System.InvalidOperationException was unhandled  Message=An error occurred creating the form. See Exception.InnerException for details. The error is: 'phrase' cannot be an empty string....
View ArticleIs there better ways to write this logic?
Hi i cant help but wander, am i doing this right!! i have a feeling im stuck in my old VB6 way of writing functions and find it time consuming coming up with logic all the time a little background on...
View ArticleVS 2010 Affecting unfocused applications
Hello, I was wondering if there's any way to target a program while not having the program selected? I'd like to send keypresses to a program while I'm doing something in another program, If it's not...
View Articlelambda expresions with list.foreach methods
Hi lets say i had 2 list(of class1) objects and wanted to iterate through them checking for something with a for each loop, i always have a problem keeping the code simple because i have to iterate...
View Articlewhen its use full to add a class
Hi When you start writing a program. How do you determine if a class is required Can any one explain it to me
View ArticleVS 2010 Not getting my country weather??
How do I get this API to work? My location is Brisbane but its not currently at the correct position when I run the program... I am using the Yahoo Weather API http://developer.yahoo.com/weather/ Ill...
View ArticleVS 2010 Curly braces and string.Format
hi That is code lblResultaat.Text = String.Format("Het bedrag {0} heeft als coupures {1} {2}{3} resterende bedrag in munten{4} ", Gebruiktbedrag, Environment.NewLine, Resultaat, Environment.NewLine,...
View ArticleVS 2012 Speech Recognition Just not working....
I am messing around with speech recognition, for no real reason other than trying to get it to work. I have read countless tutorials on this all over the web. I can get it to compile without errors,...
View ArticleVS 2010 Get elements with 'web_name' in adress.
Hello. Here is my code that only shows links with 'a' and 'href' from WebBrowser1's document. How to limit them to these who include 'web_name' in link too? Thanks a lot for help :) My code: Code:...
View ArticleVS 2010 Fill combox by list and classe
Hi I have to comboxen on the form In the first i whant to see the titel of the book the write and its it a roman detective That works. But how can i get in the second combox only the genre roman,...
View ArticleHelp For Search...
Hello, I'm Veri new in VB and i try to Search data and display results in DataGridVIew. I use this Code Code: Me.Contact_table1BindingSource.Filter = "FirstName = '" & TextBox2.Text & "'" and...
View Article