MattX 0 Posted October 12, 2004 Just a quickie - someone pointed out this excellent site the other day:http://www.dx21.com/SCRIPTING/RUNDLL32/REF...E.ASP?ISF=0&P=AWhich I have been using in various batch progs. My question is can you call RunDLL32's from within Autoit ? I have only done one and my way to get around it was to call the DLL from a CMD file I already made with relevant DLL line in. I would rather call it from Autoit - if this can be done - can someone explain how + [ me being rather sad I still use Autoit Ver 2 for some of my stuff ] can you use it there also ? Share this post Link to post Share on other sites
Jos 2,165 Posted October 12, 2004 Just a quickie - someone pointed out this excellent site the other day:http://www.dx21.com/SCRIPTING/RUNDLL32/REF...E.ASP?ISF=0&P=AWhich I have been using in various batch progs. My question is can you call RunDLL32's from within Autoit ? I have only done one and my way to get around it was to call the DLL from a CMD file I already made with relevant DLL line in. I would rather call it from Autoit - if this can be done - can someone explain how + [ me being rather sad I still use Autoit Ver 2 for some of my stuff ] can you use it there also ?<{POST_SNAPBACK}>Why not just do a RunWait() for RUNDLL32 ? 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. Share this post Link to post Share on other sites
MattX 0 Posted October 12, 2004 Why not just do a RunWait() for RUNDLL32 ?<{POST_SNAPBACK}>runwait(), RunDLL32.EXE shell32.dll,Control_RunDLL inetcpl.cpl,,4 ? Share this post Link to post Share on other sites
ezzetabi 3 Posted October 12, 2004 Run('RunDLL32.EXE shell32.dll,Control_RunDLL inetcpl.cpl,,4') ? Share this post Link to post Share on other sites
Jos 2,165 Posted October 12, 2004 runwait(), RunDLL32.EXE shell32.dll,Control_RunDLL inetcpl.cpl,,4 ?<{POST_SNAPBACK}>Ver3:Runwait("RunDLL32.EXE shell32.dll,Control_RunDLL inetcpl.cpl,,4")Ver2:SetEnv,temp,RunDLL32.EXE shell32.dll,Control_RunDLL inetcpl.cpl,,4 Runwait,%temp% 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. Share this post Link to post Share on other sites
Lazycat 13 Posted October 12, 2004 (edited) Or why not to use DllCall? DllCall("inetcpl.cpl", "int", "LaunchConnectionDialog") Edited October 12, 2004 by Lazycat Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s]) Share this post Link to post Share on other sites
MattX 0 Posted October 12, 2004 Ver3:Runwait("RunDLL32.EXE shell32.dll,Control_RunDLL inetcpl.cpl,,4")Ver2:SetEnv,temp,RunDLL32.EXE shell32.dll,Control_RunDLL inetcpl.cpl,,4 Runwait,%temp%<{POST_SNAPBACK}>Thankyou and thankyou again - I have no idea what I would do without this forum. Share this post Link to post Share on other sites
Jos 2,165 Posted October 12, 2004 Thankyou and thankyou again - I have no idea what I would do without this forum.<{POST_SNAPBACK}>no problem...by the way... it's better use a different env. variable name for temp.Temp is ofcourse already used and you don't want to change that... 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. Share this post Link to post Share on other sites