VS 2010 When to decide to create a class?
I can usually find information on how to do something I'm unfamiliar with. I tend to struggle more with the "when" and "why" of doing things. For instance, if I pull database information into a...
View ArticleDelete the first line from a richtextbox Help! [RESOLVED]
i have tried things like Code: RichTextBox1.Text.Remove(0) and this Code: RichTextBox1.Lines(0).Remove(0) i don't get any errors but they don't work any help please.
View Articleprogrammatically add name to tabcontrol based on combobox selection
Can anyone explain how to change the text in a TabControl, i have tried to use the sane tactics i would with a ListView but cant seem to get it right The name is being read from an xml file based on...
View ArticleVS 2010 Structures with Arrays
I am having a hard time understanding how VB 2010 wants me to go about declare a variable size inside a structure. I am used to VB6 and trying to learn VB 2010, but the books I have bought tell me...
View ArticleWebbrowser Control - Select Dropdownlists option
Im filling in a site with Webbrowser control, the problem is the site contains two dropdownlists and they are linked to each other like HTML Code: <select name="dropdown1" id="dropdown1">...
View ArticleVS 2010 [RESOLVED] overwrite file and if overwrite erorr show message box
Ok here is what i want.. i want a file to overwrite. And if the file that needs to be over written is opened or in use, i want my program to display a message box saying to close it when that file is...
View Articlecomparing Strings in and array to another string in a different array
im having alot of problems comparing strings. I tried two different ways which you will still see in this program. but i have the arrayString already populated in the program in a different sub. The...
View Articleusing operand of type, must use system.idisposable
Hi there, I am working on a class that checks if a file is available, if the file is available then we obtain the file lock using file stream and returns, I wish to impliment idisposable, when I do I...
View ArticleVS 2010 Conn.execute how to?
I am new to VB.Net and i want insert record database without Recordset object. My old VB6 codes: Code: Set conn = CreateObject("ADODB.Connection") conn.ConnectionString = "..........." conn.open...
View Articlehow to connect module to form without recodeing
hello i make a form with a very long code then i want to take some code to anther file(class , modules,...) but without re-code for example code in form is: "if textbox1.text="yes"" the code in modules...
View Article.Net Change value in Iframe without id
I'm working on a automatic fill in form, but i dont get pass through the picture upload. The picture upload is inside an Iframe without an id or name. I would like to know if i can add a value to it,...
View ArticleVS 2010 I came across small problem in a restaurant bill making in VB 2010...
Attachment 93787 Please kindly see the image to clearly understand my problem. then also you not understand i wil my complete project please comment clearly where's the problem is Attached Images
View ArticleVS 2010 I came across small problem in a restaurant bill making in VB 2010...
Attachment 93787 Please kindly see the image to clearly understand my problem. then also you not understand i will post my complete project please comment clearly where's the problem is if you want my...
View ArticlePrint from Dictionary
I have been trying to print and have read everything here and I am still stumped. I have a dictionary and I will either need to print one entry or the complete dictionary, it can contain 100+ entries....
View Article[RESOLVED] VB Array help
In this project, i'm trying to find the total average, minimum, maximum, and amount of numbers below average. My logic is wrong somewhere, I just cant quite figure it out. It probably has to do with...
View ArticleGrade report average
I am new to VB 2010 and taking an intro course. I am not sure if this is the place to post so if I am in the wrong place can someone direct me to the right forum. I have an assignment that I need to...
View ArticleVb help for databse and table
Goodevening.i build an app..that suppose to manage personal marketing in stores like cafe places! i have a database in mysql server and have the data of tables of each store,stored there. iI want to...
View ArticleStudent Group Application
Hi all! I need some help with an application I have to code. I have to create an application that prompts the user to enter a student name and then displays what group a student is assigned to...
View ArticleVS 2010 Reading A Text File Line By Line
Program: VB.NET 2010 Express. Hello. I have this function. Quote: Public Function OpenKey() As Boolean Dim s2 As String = "www.xx.com/config.txt Dim webRequest__1 As Net.WebRequest =...
View ArticleSlot Machine Game Code
Hello all! I need help coding a mini game for my computer science class. I'm not sure where to start, and the whole game confuses me, so I thought I'd come here for help. I have to create an...
View Article