Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 6th, 2002, 05:08 AM
leungchunghong leungchunghong is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Posts: 7 leungchunghong User rank is Private First Class (20 - 50 Reputation Level)leungchunghong User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
help

Can i do a main menu that open all the project i had done using those command button? Can anyone can give me a sample code?

For example, this is the main menu project file name "project1.vbp" and create a "form1" as main menu.

I wanted to open a project i had done "clock.vbp" which contains "form1,form2,form3"

I wanted to open the project "clock.vbp" using a command button from "project.vbp" and after open, make sure that the original project is not corrupted or errorous, can I?

Thanks, i need everyone's help!!!

Reply With Quote
  #2  
Old December 6th, 2002, 07:04 AM
NoXcuz's Avatar
NoXcuz NoXcuz is offline
Wiking
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Sep 2000
Location: Sweden
Posts: 3,608 NoXcuz User rank is Sergeant (500 - 2000 Reputation Level)NoXcuz User rank is Sergeant (500 - 2000 Reputation Level)NoXcuz User rank is Sergeant (500 - 2000 Reputation Level)NoXcuz User rank is Sergeant (500 - 2000 Reputation Level)NoXcuz User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 8 h 44 m 46 sec
Reputation Power: 25
Try using a descriptive subject the next time you post something, as it's obvious that you want help. Why would you otherways be here?

//NoXcuz
__________________
UN*X is sexy!
who | grep -i blonde | date; cd ~; unzip; touch; strip; finger; mount; gasp; yes; uptime; umount; sleep

Reply With Quote
  #3  
Old December 6th, 2002, 07:43 AM
leungchunghong leungchunghong is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Posts: 7 leungchunghong User rank is Private First Class (20 - 50 Reputation Level)leungchunghong User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
So can you help me in anyway???!!!

Reply With Quote
  #4  
Old December 6th, 2002, 07:49 AM
iamtgo3 iamtgo3 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Location: USA
Posts: 313 iamtgo3 User rank is Sergeant (500 - 2000 Reputation Level)iamtgo3 User rank is Sergeant (500 - 2000 Reputation Level)iamtgo3 User rank is Sergeant (500 - 2000 Reputation Level)iamtgo3 User rank is Sergeant (500 - 2000 Reputation Level)iamtgo3 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 h 31 m 33 sec
Reputation Power: 17
You can do this to open the form from command button.
PHP Code:
Private Sub Command1_Click()

    
Form1.Show vbModalMe

End Sub 

If you are talking about another project you may want to create a project group or just include that form in this project as well.

Reply With Quote
  #5  
Old December 6th, 2002, 08:07 AM
leungchunghong leungchunghong is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Posts: 7 leungchunghong User rank is Private First Class (20 - 50 Reputation Level)leungchunghong User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks, let said if i wanted to open a xxx.exe file in a folder, then in this project which is save in desktop, how do i write it so that i can open the exe file by not WRITING THE WHOLE DIRECTORY.

something i don't want --- "C:\windows\desktop\vbp\xxx.exe
something or somewhat i want --- "\vbp\xxx.exe"

Reply With Quote
  #6  
Old December 9th, 2002, 08:44 AM
Onslaught's Avatar
Onslaught Onslaught is offline
/(bb|[^b]{2})/
Dev Shed God (5000 - 5499 posts)
 
Join Date: Nov 2001
Location: Somewhere in the great unknown
Posts: 5,163 Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 6 Days 1 h 34 m 20 sec
Reputation Power: 791
You can find your current path by using the app object.
Try using app.path to figure out where you are and then you can navigate to the correct directory from there.

And please, do follow NoXcuz's suggestion the next time you post. It really does help to have a descriptive subject line.

Reply With Quote
  #7  
Old December 15th, 2002, 04:22 AM
leungchunghong leungchunghong is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Posts: 7 leungchunghong User rank is Private First Class (20 - 50 Reputation Level)leungchunghong User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks!

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > help

Developer Shed Advertisers and Affiliates



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap