VS 2010 Validating a TextBox
When validating a TextBox, the Validating event is called when the user sets the focus to another control. This does not work if the user selects a ToolStripMenuItem. What is the best way to make sure...
View ArticlePig Latin
Hi, I having trouble with a pig latin program. The rules are: if a word starts w/ a consonant, then you move that back of the word and add "ay" if a word starts w/ a vowel then you simply add "ay" I...
View ArticleVB Slot machine
I have everything working in my code except for the figuring of the loser. What I want to do is the only way to win is if you match all three reels which i used this for the code If v1 = v2 And v2 = v3...
View ArticleVS 2010 Validate Children
Is it possible to just validate the children of a groupbox, rather than a whole form?
View ArticleVS 2010 Writing an event for a class
Can I please have some help to add a custom event to a class. I have had a look at the following resource: http://www.codeproject.com/Articles/...lass-in-VB-Net I have tried to use the code, with no...
View ArticleVS 2010 Form is still Validating
I am having some trouble with the Validating event on a form. Here is my code to show the problem: Code: Private Sub TextBox1_Validating(sender As Object, e As...
View ArticleVS 2010 How do I use keyboard with application?
My Keyboard is an IBM Retail Alphanumeric point of sale keyboard. It using opos, and the pos.net sdk I am trying to set keys so that they perform certain functions. Example: A void key. you press it...
View ArticleVS 2008 Multiple Choice Question and Answer: Importing MS Excel data into VS?
Hello, this is my first post in the forums. I just got to learn VS 2008 this last week, and already done with several tutorials and pretty much confident enough to say that I'm already familiar with...
View ArticleVS 2010 [RESOLVED] Error when trying to load url?
I am trying to make a web browser that encrypts the url and decrypts and goes to said url. The problem is that everything else works but as soon as I try to go to the url using webbrowser.navigate() it...
View ArticleVS 2010 Property or Method
If I have a Class that has a Private List of type T, should I use a Property or a Method to retrieve the Count of the List?
View ArticleVS 2010 dataset bound to a datagridview
hi everyone, when my dataset is bound to my datagridview and the autogeneratecolumns is set to true, any changes i made on the datagridview can be made to my database using objdataadapter.update. but...
View ArticleSQLLite Issue
My does my UserID feild start with 0 and not auto increment? Code: Dim conn As New SQLiteConnection("Data Source=" & LocalDB) conn.Open() Dim Cmd As...
View ArticleVS 2010 Process.Start Arguments
I'm trying to launch a program using Process.Start with arguments: Code: Process.Start(Path, "/instant 01:01:01 'C:\Program Files\Ccleaner\Ccleaner.exe'") When I use the above code, absolutely nothing...
View ArticleVS 2010 Paradox db export
I am looking to export some data from a paradox 5.0 db file into a php site. I've tried with all my might and paradox db into vb really baffles me! So my idea is to export the db into a SQL db every 30...
View ArticleVS 2008 Another Noob ): Button in Form 1 Draw Line in Form 2
Hi, I'm new to visual basic and I have to do an assignment for my class. What I need to know is how to make a button from Form1 to draw a line on Form2 (I know how to draw the line without paint event...
View Article(2010 Pro) Simple program troubles, can't find useful info to fix...
First of all, if this is in the wrong place, mods please relocate as necessary. Okay so I'm making a program (if you look at "Programming in Visual Basic 2010, Julia Case Bradley and Anita C....
View ArticleVS 2010 Array Help
Hi, need a bit of help with this array, I know it needs a loop but I don't know how I would go about changing the (0) to a (1) the next time round the loop. Here's what I need to do: Declare a...
View ArticleVS 2010 Text Files & Coding
Hi I need help with this task: Create a user defined type of student information (name, age, contact number, gender). Create an array of your type to store 5 records (get user to populate this via the...
View ArticleHELP Renaming Items on Listbox
Hi everyone can you help with my code cause im newbie in vb.net here's my code Code: Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
View ArticleHow to detect the user idle status??, Need Help with this!!!
Hi, I'm doing my Final Year Project(FYP) using VB language. I got an login and logout page in my GUI. what I'm trying to achieve is when the user is in the login-ed in page, after a few min, it will do...
View Article