Results 1 to 8 of 8
  1. #1
    guza44_44's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Posts
    433
    Reputation
    16
    Thanks
    310

    Current Directory

    yet another time where i forget a code and what i want to know is how to start an .exe file that is in the same directory as the application your making
    [IMG]https://i304.photobucke*****m/albums/nn168/guza44/sig-1.png[/IMG]

  2. #2
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    Shell App.Path & "\Folder\Filename.exe"
    Shell App.Path & "Filename.exe"
    Shell App.Path & "\Filename.exe"
    Last edited by NextGen1; 01-11-2010 at 11:44 PM.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  3. #3
    guza44_44's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Posts
    433
    Reputation
    16
    Thanks
    310
    App.path is not recognized as anything, im using 2008
    [IMG]https://i304.photobucke*****m/albums/nn168/guza44/sig-1.png[/IMG]

  4. #4
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    AppPath = Application.StartupPath


     


     


     



    The Most complete application MPGH will ever offer - 68%




  5. The Following User Says Thank You to NextGen1 For This Useful Post:

    guza44_44 (01-11-2010)

  6. #5
    guza44_44's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Posts
    433
    Reputation
    16
    Thanks
    310
    Thats what it was! thank you :] problem solved can be closed
    [IMG]https://i304.photobucke*****m/albums/nn168/guza44/sig-1.png[/IMG]

  7. #6
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    oh and

    Code:
    Dim AppPath As String
    and

    No Problem


     


     


     



    The Most complete application MPGH will ever offer - 68%




  8. #7
    guza44_44's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Posts
    433
    Reputation
    16
    Thanks
    310
    Edit: nevermind i used process.start and it is working fine, the shell code was just being retarded
    [IMG]https://i304.photobucke*****m/albums/nn168/guza44/sig-1.png[/IMG]

  9. #8
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    Awesome, Process.Start is more flexible, Shell is older, but more recognized.

    Glad its working though


     


     


     



    The Most complete application MPGH will ever offer - 68%




Similar Threads

  1. Currently Learning C++
    By Nightlord in forum General
    Replies: 24
    Last Post: 03-13-2007, 01:39 PM
  2. Current
    By jadedfrog in forum Art & Graphic Design
    Replies: 12
    Last Post: 07-29-2006, 05:39 AM
  3. Current Music
    By Chronologix in forum Entertainment
    Replies: 15
    Last Post: 02-07-2006, 08:02 PM