Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 03-12-2004, 04:03 PM   #1
Member (8 bit)
 
mikey_dude's Avatar
 
Join Date: Apr 2002
Location: Ipswich, UK
Posts: 197
Basic form with VB

Hi there,

I am looking to make a simple program to put on a CD that will act as a form type thing. It will include a logo, title, description, a drop down box so people can choose which programs they would like to install (for example) and a close button.

I am using VB6 and have done the basic layout but am having trouble with the close button and the menu.

I am working in the form layout. I wondered if you can help make the close button work and suggest a way of placing a menu drop-down list on the form.

Hope you can help. Thanks in advance.

Michael
mikey_dude is offline   Reply With Quote
Old 03-12-2004, 04:15 PM   #2
Member (7 bit)
 
charlie1's Avatar
 
Join Date: Jun 2001
Location: united kingdom
Posts: 87
You try addind this to the clivk event o f a command buttun:

Unload Me
End
charlie1 is offline   Reply With Quote
Old 03-12-2004, 04:19 PM   #3
Member (7 bit)
 
charlie1's Avatar
 
Join Date: Jun 2001
Location: united kingdom
Posts: 87
Sorry Im a bit drunk and forgot to do a spell check.
Ok, try adding this to the click event of a command button.
for example;

Command1 click_event()
Ubload Me
End
End Sub
charlie1 is offline   Reply With Quote
Old 03-12-2004, 04:32 PM   #4
Member (8 bit)
 
mikey_dude's Avatar
 
Join Date: Apr 2002
Location: Ipswich, UK
Posts: 197
I did this and get:

Compile error: Invalid outside procedure.

Is this the best language to use to make this sort of prog?
mikey_dude is offline   Reply With Quote
Old 03-13-2004, 03:09 AM   #5
Member (7 bit)
 
charlie1's Avatar
 
Join Date: Jun 2001
Location: united kingdom
Posts: 87
Only type the second and third lines:

Unload Me
End

Do this within the click event of your close button
As for vb being the best program to use, Idont know.
Check out Planet Source Code its a pretty good site for coding and covers most if not all programming languages.
charlie1 is offline   Reply With Quote
Old 03-13-2004, 04:22 AM   #6
Member (8 bit)
 
mikey_dude's Avatar
 
Join Date: Apr 2002
Location: Ipswich, UK
Posts: 197
Thanks will give it a try.

I'm new to this as you can probably tell and have eventually got round to trying it out.
mikey_dude is offline   Reply With Quote
Old 03-13-2004, 08:14 AM   #7
Member (8 bit)
 
mikey_dude's Avatar
 
Join Date: Apr 2002
Location: Ipswich, UK
Posts: 197
I did this, thanks for your help.

All I have to do now is find out how to sort out the drop-down menu thing (like File, Edit etc).

I will then have a list of software each being installed when clicked on.

cheers
mikey_dude is offline   Reply With Quote
Old 03-13-2004, 12:40 PM   #8
Member (7 bit)
 
charlie1's Avatar
 
Join Date: Jun 2001
Location: united kingdom
Posts: 87
To make a menu bar in vb you use the menu editor which only available when the form is the active window
charlie1 is offline   Reply With Quote
Old 03-14-2004, 09:26 AM   #9
Member (8 bit)
 
mikey_dude's Avatar
 
Join Date: Apr 2002
Location: Ipswich, UK
Posts: 197
Thanks for your help.

I've made it now and can move on to better things

I'll be looking to make a program next which contains several windows all linked to each other. Will most likely be back for help sometime

Thanks again.
mikey_dude is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:49 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2