Dogcode Posted February 5, 2015 Share Posted February 5, 2015 I'm trying to make a compiler in vb.net by running a cmd line with a2e [au2exe] but when i try it, it just says "Access denied to tempfile!" Any help? Link to comment Share on other sites More sharing options...
Developers Jos Posted February 5, 2015 Developers Share Posted February 5, 2015 (edited) what does the commandline look as? Quick check in the source files and couldn't find this message. Anything in your program that triggers this? Edited February 5, 2015 by Jos 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...
Dogcode Posted February 5, 2015 Author Share Posted February 5, 2015 Process.Start(Application.StartupPath & "\A2E.exe", "/in " & ChrW(34) & Application.StartupPath & "\EW.au3" & ChrW(34) & " ").WaitForExit() If IO.File.Exists(EW & "au3") = False Then IO.File.Copy(Application.StartupPath & "\EW.au3", EW & "au3") End If If IO.File.Exists(QW.FileName) = False Then IO.File.Copy(Application.StartupPath & "\EW.exe", QW.FileName) End If When i move the compiler from the debug directory to a new one, it seems to give this error. Link to comment Share on other sites More sharing options...
Developers Jos Posted February 5, 2015 Developers Share Posted February 5, 2015 Why move & rename the AUT2EXE.exe at all? 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...
Dogcode Posted February 5, 2015 Author Share Posted February 5, 2015 I have included them to my resources in vb.net So users without can ruse the compiler. I've tried running my compiler as admin and it still says "Access to EW.exe Denied!" Link to comment Share on other sites More sharing options...
Developers Jos Posted February 5, 2015 Developers Share Posted February 5, 2015 So you copy aut2exe from the program's resources to a temp directory and then run it? If so, can you run it manually after extraction? Jos 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...
Dogcode Posted February 5, 2015 Author Share Posted February 5, 2015 The compiling works correctly. But the temporary file "EW.EXE" has access denied .. Link to comment Share on other sites More sharing options...
Developers Jos Posted February 5, 2015 Developers Share Posted February 5, 2015 You are sure that aut2exe is really finished when trying to access it? Could it still being scanned by an AntiVirus? Jos 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...
Dogcode Posted February 6, 2015 Author Share Posted February 6, 2015 You are sure that aut2exe is really finished when trying to access it? Could it still being scanned by an AntiVirus? Jos I was thinking about the aut2exe still being running, i'm trying to make it wait. Thanks Jos. 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