Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > .NET Languages
You last visited: Today at 21:32

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Rappelz - Using Shell with labels/listview items.

Discussion on Rappelz - Using Shell with labels/listview items. within the .NET Languages forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2011
Posts: 532
Received Thanks: 234
Question Rappelz - Using Shell with labels/listview items.

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?
marekrndr is offline  
Old 04/10/2012, 16:28   #2
 
elite*gold: 25
Join Date: May 2011
Posts: 738
Received Thanks: 439
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 :



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.
SuckMyBaum is offline  
Old 04/11/2012, 00:54   #3
 
elite*gold: 0
Join Date: Aug 2011
Posts: 532
Received Thanks: 234
Using the Shell actually didn't work indeed.. But using Call Shell worked like charm.
marekrndr is offline  
Reply


Similar Threads Similar Threads
[C#] Programm beendet sich beim hinzufügen von Items bei Listview (FileSystemWatcher)
03/18/2012 - .NET Languages - 2 Replies
Hallo, habe ein Problem bei C#. Ich habe ein Form und dort ist ein Listview drin, jetzt möchte ich mit FileSystemWatcher prüfen ob eine Datei geändert wurde und dann möchte ich das was ins Listview geschrieben wird. Die Box "Hääääää?!" kann ich noch sehen aber wenn ich dort auf OK drücke beendet sich das Programm... Danke schon mal. public Form1() { InitializeComponent();
Listview - items auslesen
12/04/2011 - AutoIt - 6 Replies
Hi, Ich wollte fragen wie man in einer Listview die items ausliest. Also weil die immer unterschiedlich heißen muss man dass doch bestimmt mit Ubound oderso machen. Leider weiß ich nicht wie. Hier mal meine Listview: $ListView1 = GUICtrlCreateListView("Computer|Settings|_doD rink|_doTraining|_doStroke|_doGiveCarrot|_doGroom| _doGiveFood|_doNight|_doAge", 0, 0, 786, 446) if $rev = "/User_Info" or $rev = "/user_info" then $item4 = GUICtrlCreateListViewItem("Userinfo abgerufen",...
HELP! SCHWEBENDE LABELS?!?
06/05/2010 - AutoIt - 10 Replies
hi leute! ich hab ne gui gemacht... und kann mir einer sagen wie ich schwebende labels machen kann?? danke im voraus...
Request: Metallurgy Labels in Nekojima
04/04/2010 - Mabinogi - 4 Replies
If anyone can provide a tutorial on how to make this edit, it would be greatly appreciated. The spot do get kind of annoying to see when it's daylight.
[VB 2008]Listview Items mit Spalten -Brauche Hilfe
03/15/2010 - .NET Languages - 5 Replies
Hallo, ich habe ein Problem. Und zwar bin ich gerade ein Projekt am Coden, indem ich ein ListView Control mit 3 Spalten habe: "ID", "PW" und "Beschreibung" Die Texte die in die Spalten eingelesen werden sollen, stehen in einer Textdatei mit den Namen "Account1". Zeile 1 = ID Zeile 2 = PW Zeile 3 = Beschreibung



All times are GMT +1. The time now is 21:32.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.