| | | Advertisement |  | | | |  | GameBanshee Forums
| | 
09-04-2007, 04:49 PM
|  | Moderator | | Join Date: Apr 2005 Location: Somewhere a man such as I exist.
Posts: 4,787
| | | Visual Basic 2005 Help. Starting a class on Visual Basic right now, and having a bit of trouble.
I'm not at all sure if everything looks right on my visual basic file. I'm supposed to create a single form that has labels of three things I like, and three buttons at the bottom. The buttons are Exit, Exit in 2 seconds, and Exit in 5 seconds.
Now, the problem is, I don't know how to open this application after saving it and closing visual basic so I can test to see if they work right. I don't even need the 2 and 5 second buttons, I just need to know if the exit button works and that's it.
Anybody know how to open an application you created in visual basic or how to test this application? The terms for what they use for items in the program are so foreign I wouldn't know where to search. | 
09-04-2007, 10:53 PM
|  | Super Moderator | | Join Date: Nov 2000 Location: Denmark
Posts: 13,097
| | | When you compiled your application there should be a "bin" folder located within the project folder. Inside that bin there is an exe called the same as your program which starts the form up. | 
09-04-2007, 11:05 PM
|  | Moderator | | Join Date: Apr 2005 Location: Somewhere a man such as I exist.
Posts: 4,787
| | | I have the file there, but double clicking does nothing. No program or anything. | 
09-04-2007, 11:11 PM
|  | Super Moderator | | Join Date: Nov 2000 Location: Denmark
Posts: 13,097
| | | Then I do not think your application is working correctly.
What IDE do you use to program in? Do you have access to debugging tools via it? | 
09-04-2007, 11:15 PM
|  | Moderator | | Join Date: Apr 2005 Location: Somewhere a man such as I exist.
Posts: 4,787
| | | Not sure what IDE stands for (yeah, I know I'm kind of clueless, but this is my first homework assignment from my first class session of Visual Basic, total newbie anyways), but yes, I do have debugging features. | 
09-04-2007, 11:26 PM
|  | Super Moderator | | Join Date: Nov 2000 Location: Denmark
Posts: 13,097
| | | IDE is the software you use to code in ("Integrated Development Environment.") such as visual studio et al.
If the application does not "start" when you execute it, I would think you've made an error in the coding of it. Try placing a break point in the beginning of your code (if you can) and step through the execution. It might help figure out what is the issue.
Alternative, depending on when you need it done, try PMing the source code to me, and perhaps I can point you in the proper direction - even though my area of expertise is not applications I do make some simple ones from time to time too help myself at work. | 
09-04-2007, 11:41 PM
|  | Moderator | | Join Date: Apr 2005 Location: Somewhere a man such as I exist.
Posts: 4,787
| | | HA! Fixed it, finally. Always the simple things that make an error.
When I was putting in the me.close() feature, the one step I forgot was to make it specifically a part of the Exit button feature. So, since it was put with the actual base code itself, naturally double clicking the EXE would instantly load and close the program within the blink of an eye.
Like I said, always the simple mistakes that create the insanely complex problems. | 
09-04-2007, 11:44 PM
|  | Super Moderator | | Join Date: Nov 2000 Location: Denmark
Posts: 13,097
| | Grats on getting it done, and you are right about simple things making "complex" problems 
Anyways - my VB expertise is mostly coupled to webapplication, windows services and class libraries as windows application is not a part of my daily work, but I do think I can help somewhat on applications as well in case you need some feedback/advice etc. | 
09-04-2007, 11:47 PM
|  | Moderator | | Join Date: Apr 2005 Location: Somewhere a man such as I exist.
Posts: 4,787
| | | coolio, I don't have your instant messenger name but if you're not against it, feel free to IM me and I'll add your name to my friends list. | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | |