Rappelz - Using Shell with labels/listview items.

04/08/2012 18:24 marekrndr#1
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 :
[Only registered and activated users can see links. Click Here To Register...]


What am I doing wrong? What's the correct way?
04/10/2012 16:28 SuckMyBaum#2
Quote:
Originally Posted by marekrndr View Post
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 :
[Only registered and activated users can see links. Click Here To Register...]


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.
04/11/2012 00:54 marekrndr#3
Using the Shell actually didn't work indeed.. But using Call Shell worked like charm.