Quote:
Originally Posted by marekrndr
This is my code :
Code:
Shell(Label4.Text & "\" & "SFrame.exe /auth_ip:" & ListView1.SelectedItems(0).SubItems(1).Text & " /locale:ASCII /country:US /cash /commercial_shop")
When I execute that command, I get an error from SFrame :
What am I doing wrong? What's the correct way?
|
So, i see, the shell command should be something like this:
Shell("path\programm.exe /auth_ip: 111.111.111.111 /locale:ASCII /country:US /cash /commercial_shop")
Maybe she parameters are wrong or set the parameter of the /auth_ip between a ""
try this:
Code:
Shell(Label4.Text & "\" & "SFrame.exe /auth_ip:" & Chr(34) & ListView1.SelectedItems(0).SubItems(1).Text & Chr(34) & " /locale:ASCII /country:US /cash /commercial_shop")
so it would be
Code:
path\programm.exe /auth_ip:"111.111.111.111" /locale:ASCII /country:US /cash /commercial_shop
if it don't work, maybe your parameters are wrong.