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?
Printable View
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?
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!
SubVB Code:
Private Sub Command1_Click() Dim retval As Double retval = Shell("game.exe /p080.41.133.60 /n0MrNew /p1151.197.40.83 /n1Light /p2 /n2 /p3 /n3 /spike /2", vbNormalFocus) End
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
It worked? Wheeeeeeeeeeee!! Glad I was able to help ya. G'luck with yer program. :wave: