Results 1 to 4 of 4

Thread: Batch Cmd

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2005
    Posts
    146

    Batch Cmd

    game.exe /p080.41.133.60 /n0MrNew /p1151.197.40.83 /n1Light /p2 /n2 /p3 /n3 /spike /2

    anybody show me how to run a commandline at a push of a button please?

  2. #2
    Member
    Join Date
    Jun 2006
    Posts
    36

    Re: Batch Cmd

    Hi- I'm only days into this VB thing(lovin it so far), so I'm not really sure if this is what yer looking for or not. I figured it couldn't hurt to post on the slim chance it is what yer lookin for. This isn't using a batch file so if ya need to use a batch file method, post back and I will see if I can find that out. G'Luck!


    VB Code:
    1. Private Sub Command1_Click()
    2.  
    3.     Dim retval As Double
    4.     retval = Shell("game.exe /p080.41.133.60 /n0MrNew /p1151.197.40.83 /n1Light /p2 /n2 /p3 /n3 /spike /2", vbNormalFocus)
    5.  
    6.  
    7. End
    Sub

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Sep 2005
    Posts
    146

    Re: Batch Cmd

    this will do perfect, i intend to use it for my own little gaming zone instead of using wgcenter or msn zone, as you can see p1-4 and n1-4 is the variable which holds the playernames and thier ips..so from here..anythings possible

    thnx once again

    o btw, if u add me to msn uncaamri[@]hotmail.com ill help you with your userlist, i run a little tcp winsock game so i can help
    Last edited by mrnew; Jul 1st, 2006 at 08:23 AM.

  4. #4
    Member
    Join Date
    Jun 2006
    Posts
    36

    Re: Batch Cmd

    It worked? Wheeeeeeeeeeee!! Glad I was able to help ya. G'luck with yer program.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width