hamsteren Posted June 21, 2007 Share Posted June 21, 2007 When starting the exe file i get this error Line 0 (File "blablabla.exe"): part of script ERROR: VARIABLE USED WITHOUT BEING DECLARED. I check out where it came from but i cannot find a solution It looks like my script can't use ex. $ES_READONLY when running the AU3 file, it works perfect Link to comment Share on other sites More sharing options...
poisonkiller Posted June 21, 2007 Share Posted June 21, 2007 Could you post us your script? Link to comment Share on other sites More sharing options...
hamsteren Posted June 21, 2007 Author Share Posted June 21, 2007 #include <Misc.au3> #include <GuiListView.au3> global $ma[Ú[ÝË ÌÍÚ[Ý[ÙË ÌÍÛÙÂÌÍÛXZ[Ú[ÝÈHÝZPÜX]J ][ÝÑPÐÈFæF&B6ögGv&Rç7FÆÆFöâFöö Ö6VÂföWFVâgV÷C²ÂCÂCÂÓÂÓ)U%MÑ%½¸ ÅÕ½Ðí¹¥¼ÅÕ½Ðì¤(ÀÌØí¥¹Íѱ±±½ôU% Ñɱ ÉѥРÅÕ½ÐInstaller started: [" & @ComputerName & "]" & @C [È ][ÝËKKKKKKKKKKKKKKKKKKKKKKKKKKKKI][ÝËLLÎÎ]Ô Ìc´U5õ$TDôäÅÂb33cµu5õe45$ôÄÂÂb33cµu5ô45$ôÄÂÂb33cµu5ôUõ5DD4TDtR¤uT ÑɱMÑ ½±½È ´Ä°Áá¤)U% ÑɱMÑ ½±½È ´Ä°ÁàÀÀÔÔÀÀ¤)U%MÑMÑÑ ¤(íU$Functions install() Do $msg = GUIGetMsg () Until $msg = $ÕRWÑUSÐÓÔÑB Link to comment Share on other sites More sharing options...
Kip Posted June 21, 2007 Share Posted June 21, 2007 (edited) #include <GUIConstants.au3> ???btw:Line 0 (File "blablabla.exe"):part of script ERROR: VARIABLE USED WITHOUT BEING DECLAREDWhat does it say? Instead of 'part of script' Edited June 21, 2007 by kip MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
hamsteren Posted June 21, 2007 Author Share Posted June 21, 2007 Line 0 (File "S:\installer\eccSSIT.exe"): $installlog = GUICtrlCreateEdit("Installer started: [" & @ComputerName & "]" & @CRLF & "-----------------------------",10,10,380,380,BitOR($ES_READONLY,$WS_VSCROLL,$WS_HSCROLL),$WS_EX_STATICEDGE) $installlog = GUICtrlCreateEdit("Installer started: [" & @ComputerName & "]" & @CRLF & "-----------------------------",10,10,380,380,BitOR(^ERROR Error: Variable used wihout being declared Link to comment Share on other sites More sharing options...
poisonkiller Posted June 21, 2007 Share Posted June 21, 2007 Try this: #include <GUIConstants.au3> #include <Misc.au3> #include <GuiListView.au3> global $mainwindow,$installlog,$msg $mainwindow = GuiCreate("ECC Standard Software Installation Tool © Michael Voeten", 400, 400,-1, -1 ) GUISetIcon("ecc.ico") $installlog = GUICtrlCreateEdit("Installer started: [" & @ComputerName & "]" & @CRLF & "-----------------------------",10,10,380,380,BitOR($ES_READONLY,$WS_VSCROLL,$WS_HSCROLL),$WS_EX_STATICEDGE) GUICtrlSetColor(-1,0xffffff) GUICtrlSetBkColor(-1,0x005500) GUISetState() ;GUI Functions install() Do $msg = GUIGetMsg () Until $msg = $GUI_EVENT_CLOSE Link to comment Share on other sites More sharing options...
Developers Jos Posted June 21, 2007 Developers Share Posted June 21, 2007 Do you have a Space or Tab infront of the #include statements ? If so remove it and try again ... "Hamsteren = AH ?" SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Kip Posted June 21, 2007 Share Posted June 21, 2007 "Hamsteren = AH ?" haha, daar dacht ik ook al aan MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
hamsteren Posted June 22, 2007 Author Share Posted June 22, 2007 ja idd, HAMSTEREN hahaha Link to comment Share on other sites More sharing options...
hamsteren Posted June 22, 2007 Author Share Posted June 22, 2007 problem solved, i didn't load the GUI instances Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now