DUNGYEUANH Posted June 9, 2011 Share Posted June 9, 2011 (edited) HelloI have a html file and I want to open it with IEI have read and try function ShellExecute but without success Someone help me Edited June 9, 2011 by DUNGYEUANH Link to comment Share on other sites More sharing options...
zac23 Posted June 9, 2011 Share Posted June 9, 2011 Hi, Try without the formatting from that post, #include <IE.au3> $oIE = _IECreate ("<yourfile>") Link to comment Share on other sites More sharing options...
DUNGYEUANH Posted June 9, 2011 Author Share Posted June 9, 2011 (edited) It doesn't work.while my Internet connection still work. Edited June 9, 2011 by DUNGYEUANH Link to comment Share on other sites More sharing options...
hannes08 Posted June 9, 2011 Share Posted June 9, 2011 ShellExecute(@ScriptDir & "\Home.htm") Works like a charm. P.S. you might need to change .htm to .html depending on the file-extension. Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler] Link to comment Share on other sites More sharing options...
DUNGYEUANH Posted June 9, 2011 Author Share Posted June 9, 2011 ShellExecute(@ScriptDir & "\Home.htm") Works like a charm. P.S. you might need to change .htm to .html depending on the file-extension. Thank Hannes123,it worked perfectly 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