December 6th, 2002, 06:08 AM
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!!!
December 6th, 2002, 08:04 AM
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?
UN*X is sexy!
who | grep -i blonde | date; cd ~; unzip; touch; strip; finger; mount; gasp; yes; uptime; umount; sleep
December 6th, 2002, 08:43 AM
So can you help me in anyway???!!!
December 6th, 2002, 08:49 AM
You can do this to open the form from command button.
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.
Private Sub Command1_Click()
Form1.Show vbModal, Me
December 6th, 2002, 09:07 AM
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"
December 9th, 2002, 09:44 AM
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.
December 15th, 2002, 05:22 AM