Results 1 to 11 of 11
  1. #1
    dor619's Avatar
    Join Date
    Feb 2007
    Gender
    male
    Posts
    34
    Reputation
    10
    Thanks
    0

    how to create open files..like "Lunch"

    i want to know please.
    how do i creating a file open.
    like to call to exe for open.
    like in trainers the "LUNCH".

  2. #2
    radnomguywfq3's Avatar
    Join Date
    Jan 2007
    Gender
    male
    Location
    J:\E\T\A\M\A\Y.exe
    Posts
    8,858
    Reputation
    381
    Thanks
    1,823
    My Mood
    Sad
    I have no fucking idea what "lunch" has to do with VB. Hmm do you mean open a process, just go :

    Dim MyProcess as Process
    MyProcess.StartInfo.Path = "C:\lunch.exe"
    MyProcess.Start
    MyProcess.Close

    Thats not an illegal, question you can get these question answerd at msdn

  3. #3
    dor619's Avatar
    Join Date
    Feb 2007
    Gender
    male
    Posts
    34
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by jetamay View Post
    I have no fucking idea what "lunch" has to do with VB. Hmm do you mean open a process, just go :

    Dim MyProcess as Process
    MyProcess.StartInfo.Path = "C:\lunch.exe"
    MyProcess.Start
    MyProcess.Close

    Thats not an illegal, question you can get these question answerd at msdn
    thanks alot for sharing..
    but is't doing an error when i add it on my Command1_Click..
    please help me.

    i writed it like it:

    Private Sub Command1_Click(Index As Integer)
    Dim MyProcess As Process
    MyProcess.StartInfo.Path = "C:\Program Files\WarRock\WRLauncher.exe"
    MyProcess.Start
    MyProcess.Close
    End Sub

  4. #4
    Iam"iDude"'s Avatar
    Join Date
    Sep 2007
    Location
    El Estado unido de América (Tejas)
    Posts
    235
    Reputation
    10
    Thanks
    2
    there is probably a declare function he had forgotten because the term "Process" in Dim MyProcess as Process isnt declared
    so yeah there must be a function he forgot :-/

  5. #5
    radnomguywfq3's Avatar
    Join Date
    Jan 2007
    Gender
    male
    Location
    J:\E\T\A\M\A\Y.exe
    Posts
    8,858
    Reputation
    381
    Thanks
    1,823
    My Mood
    Sad
    Its built in to the compiler, there are no functions or declarations, there are no errors in that code. Are you using VB6.0 or .net they have diffrent syntax.



    There are two types of tragedies in life. One is not getting what you want, the other is getting it.

    If you wake up at a different time in a different place, could you wake up as a different person?


  6. #6
    Iam"iDude"'s Avatar
    Join Date
    Sep 2007
    Location
    El Estado unido de América (Tejas)
    Posts
    235
    Reputation
    10
    Thanks
    2
    Quote Originally Posted by jetamay View Post
    Its built in to the compiler, there are no functions or declarations, there are no errors in that code. Are you using VB6.0 or .net they have diffrent syntax.
    im using vb6 and i thought he was :-/ lemme see if i can find the diff function name...

  7. #7
    Chl0rid3's Avatar
    Join Date
    Sep 2007
    Posts
    16
    Reputation
    10
    Thanks
    1
    Quote Originally Posted by dor619 View Post
    thanks alot for sharing..
    but is't doing an error when i add it on my Command1_Click..
    please help me.

    i writed it like it:

    Private Sub Command1_Click(Index As Integer)
    Dim MyProcess As Process
    MyProcess.StartInfo.Path = "C:\Program Files\WarRock\WRLauncher.exe"
    MyProcess.Start
    MyProcess.Close
    End Sub

    If it is for just a launch button, simply do::

    Private Sub Command1_Click
    Shell "C:\Program Files\WarRock\WRLauncher.exe"
    End Sub

  8. #8
    radnomguywfq3's Avatar
    Join Date
    Jan 2007
    Gender
    male
    Location
    J:\E\T\A\M\A\Y.exe
    Posts
    8,858
    Reputation
    381
    Thanks
    1,823
    My Mood
    Sad
    Huh...Well you could do that too, lol I always manage to make things more complex then they have to be.



    There are two types of tragedies in life. One is not getting what you want, the other is getting it.

    If you wake up at a different time in a different place, could you wake up as a different person?


  9. #9
    ZeaS's Avatar
    Join Date
    Feb 2007
    Posts
    738
    Reputation
    15
    Thanks
    265
    Quote Originally Posted by Chl0rid3 View Post
    If it is for just a launch button, simply do::

    Private Sub Command1_Click
    Shell "C:\Program Files\WarRock\WRLauncher.exe"
    End Sub
    hmm but i installed it in drive "E" ^^ so you can`t use this code... for everybody...

  10. #10
    radnomguywfq3's Avatar
    Join Date
    Jan 2007
    Gender
    male
    Location
    J:\E\T\A\M\A\Y.exe
    Posts
    8,858
    Reputation
    381
    Thanks
    1,823
    My Mood
    Sad
    well then give them an option on what drive they installed it on. Like use

    Try statement to try C, and try to try E, etc, the whole alphebet, lol just jking.



    There are two types of tragedies in life. One is not getting what you want, the other is getting it.

    If you wake up at a different time in a different place, could you wake up as a different person?


  11. #11
    ZeaS's Avatar
    Join Date
    Feb 2007
    Posts
    738
    Reputation
    15
    Thanks
    265
    yep thats an idea^^

Similar Threads

  1. (TuT)How to create red dot (crosshair)
    By w00t? in forum Visual Basic Programming
    Replies: 10
    Last Post: 10-28-2007, 06:40 AM
  2. How bad is this file ?
    By TheBlueMax in forum WarRock - International Hacks
    Replies: 16
    Last Post: 10-21-2007, 12:21 PM
  3. [help]how to create a bypass in vb?
    By warpebble2 in forum Visual Basic Programming
    Replies: 10
    Last Post: 09-25-2007, 07:45 AM
  4. Replies: 13
    Last Post: 02-09-2006, 10:25 PM
  5. how to create speedhacks?
    By LiLLeO in forum General Game Hacking
    Replies: 5
    Last Post: 01-28-2006, 08:52 AM