Please note that new user registrations disabled at this time.

Visual Basic 2005 Help.

If you have technical questions regarding computers, consoles, or the games we play on them, post them in here.
Post Reply
User avatar
Siberys
Posts: 6207
Joined: Sat Apr 30, 2005 7:16 pm
Location: I live in that one place with the thing
Contact:

Visual Basic 2005 Help.

Post by Siberys »

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.
Listen up maggots, Mr. Popo's 'bout to teach you the pecking order.
It goes you, the dirt, the worms inside of the dirt, Popo's stool, Kami, then Popo.
~Mr. Popo, Dragonball Z Abridged
User avatar
Xandax
Posts: 14151
Joined: Thu Nov 16, 2000 12:00 pm
Location: Denmark
Contact:

Post by Xandax »

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.
Insert signature here.
User avatar
Siberys
Posts: 6207
Joined: Sat Apr 30, 2005 7:16 pm
Location: I live in that one place with the thing
Contact:

Post by Siberys »

I have the file there, but double clicking does nothing. No program or anything.
Listen up maggots, Mr. Popo's 'bout to teach you the pecking order.
It goes you, the dirt, the worms inside of the dirt, Popo's stool, Kami, then Popo.
~Mr. Popo, Dragonball Z Abridged
User avatar
Xandax
Posts: 14151
Joined: Thu Nov 16, 2000 12:00 pm
Location: Denmark
Contact:

Post by Xandax »

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?
Insert signature here.
User avatar
Siberys
Posts: 6207
Joined: Sat Apr 30, 2005 7:16 pm
Location: I live in that one place with the thing
Contact:

Post by Siberys »

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.
Listen up maggots, Mr. Popo's 'bout to teach you the pecking order.
It goes you, the dirt, the worms inside of the dirt, Popo's stool, Kami, then Popo.
~Mr. Popo, Dragonball Z Abridged
User avatar
Xandax
Posts: 14151
Joined: Thu Nov 16, 2000 12:00 pm
Location: Denmark
Contact:

Post by Xandax »

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.
Insert signature here.
User avatar
Siberys
Posts: 6207
Joined: Sat Apr 30, 2005 7:16 pm
Location: I live in that one place with the thing
Contact:

Post by Siberys »

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.
Listen up maggots, Mr. Popo's 'bout to teach you the pecking order.
It goes you, the dirt, the worms inside of the dirt, Popo's stool, Kami, then Popo.
~Mr. Popo, Dragonball Z Abridged
User avatar
Xandax
Posts: 14151
Joined: Thu Nov 16, 2000 12:00 pm
Location: Denmark
Contact:

Post by Xandax »

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.
Insert signature here.
User avatar
Siberys
Posts: 6207
Joined: Sat Apr 30, 2005 7:16 pm
Location: I live in that one place with the thing
Contact:

Post by Siberys »

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.
Listen up maggots, Mr. Popo's 'bout to teach you the pecking order.
It goes you, the dirt, the worms inside of the dirt, Popo's stool, Kami, then Popo.
~Mr. Popo, Dragonball Z Abridged
Post Reply