Thread: help

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2002
    Posts
    7
    Rep 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!!!
  2. #2
  3. Wiking
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Sep 2000
    Location
    Sweden
    Posts
    3,608
    Rep Power
    27
    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
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2002
    Posts
    7
    Rep Power
    0
    So can you help me in anyway???!!!
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2001
    Location
    USA
    Posts
    313
    Rep Power
    19
    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.
  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2002
    Posts
    7
    Rep 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"
  10. #6
  11. /(bb|[^b]{2})/

    Join Date
    Nov 2001
    Location
    Somewhere in the great unknown
    Posts
    5,163
    Rep Power
    793
    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.
  12. #7
  13. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2002
    Posts
    7
    Rep Power
    0
    Thanks!

IMN logo majestic logo threadwatch logo seochat tools logo