Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 15:43

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

Advertisement



ShellExecute Fehler

Discussion on ShellExecute Fehler within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
Z1337's Avatar
 
elite*gold: 113
Join Date: Jun 2012
Posts: 110
Received Thanks: 25
ShellExecute Fehler

Moin habe nen Kleinen Fehler bei meinem AutoIt Script unzwar wollt ich gerne eine Jar ausführen lassen, nur Leider findet er irgendwie java nicht, in einer Bat datei geht es dies wundert mich .

Hier mal mein Code :

Code:
#include <String.au3>
#include <Crypt.au3>
#include <ComboConstants.au3>
#include <EditConstants.au3>
#include <WinAPI.au3>
#include <GUIConstantsEx.au3>
#include <Misc.au3>
#include <File.au3>
;#NoTrayIcon
#Region MainGUI 
Menu()


Func Menu()
	Local $btn1, $label1,$iOutputEdit, $msg ,$btn2,$btn3,$btn4,$btn5,$btn6
	$gui = GUICreate("Decompile Gui",300,130)
	$mode = 0
	Opt("GUICoanddMode", 3)
	GUISetState()
	$source = GUICtrlCreateInput("Source",45,5)
	$output = GuiCtrlCreateInput("Output",45,30)
   $btn4 = GuiCtrlCreateButton("Decompile", 90, 90, 120, 30)	




If (FileExists ( "Config\config.con" )) Then


while 1
   
		$msg = GUIGetMsg()
		Select
		case $msg = $GUI_EVENT_CLOSE	
			   Exit
			   case $msg = $btn4 ; Copy
						ShellExecute(FileReadLine("Config\config.con",1) & " -jar unluac.jar " & GUICtrlRead($source) & " > " & GUICtrlRead($output))
			 EndSelect		

WEnd  
Else
   	   MsgBox(0, "Not Found", "config.con Dont Exist,Creating")	
		 DirCreate ( "Config" )
	   _FileCreate("Config\config.con")
   Endif
EndFunc
Dieser Error erscheint :



Hoffe auf Schnelle Hilfe,

MfG
Z1337 is offline  
Old 11/26/2012, 19:42   #2


 
Lawliet's Avatar
 
elite*gold: 2
Join Date: Jul 2009
Posts: 14,456
Received Thanks: 4,685
Du musst die Parameter im Zweitenen Parameter von Shellexecute mitgeben.
Lawliet is offline  
Thanks
1 User
Old 11/26/2012, 22:10   #3
 
Z1337's Avatar
 
elite*gold: 113
Join Date: Jun 2012
Posts: 110
Received Thanks: 25
Danke sehr hat alles Geklappt
Z1337 is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Problem mit ShellExecute [C++]
08/15/2011 - C/C++ - 3 Replies
Hey Com, ich suche seit tagen im Internet nach Hilfe für ShellExecute. Doch nichts zu finden was mit meinem Problem zu tuen hat. Ich wollte ein Button machen wo sich dann eine Internetseite öffnet, aber davor soll die Progressbar laufen. Für den Button habe ich etwas versucht aber mit Fehlern.
[C++] 'Problem' mit ShellExecute()
10/01/2010 - C/C++ - 3 Replies
Huhu Also mein hier mal ein Code abschnitt: char URI; DWORD destSize; GetPrivateProfileString("Webseite aufrufen by Rhilor","URL", "NULL", URI, destSize, "c:\\test.ini");
Shellexecute Hilfe ._.
09/30/2010 - AutoIt - 5 Replies
Hallo ich bin es mal wieder :D :D , ich hänge seit knapp 3 tagen in der autoit hilfe und checke es net :D .. Ich will mit Shellexecute eine musik datei öffnen...
Problem mit ShellExecute!
09/21/2010 - General Coding - 3 Replies
Hallo, ich hab ein Fehler im Code unzwar: error C3861: "ShellExecuteA": Bezeichner wurde nicht gefunden. Kann mir vllt. jmd. helfen?



All times are GMT +1. The time now is 15:43.


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.