Sign in to follow this  
Followers 0
DUNGYEUANH

Open html

5 posts in this topic

#1 ·  Posted (edited)

Hello

I have a html file and I want to open it with IE

I have read and try function ShellExecute but without success

:huh2: Someone help me ;)

Edited by DUNGYEUANH

Share this post


Link to post
Share on other sites



Hi,

Try without the formatting from that post,

#include <IE.au3>
$oIE = _IECreate ("<yourfile>")

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

It doesn't work.

Posted Image

while my Internet connection still work. :huh2:

Edited by DUNGYEUANH

Share this post


Link to post
Share on other sites

ShellExecute(@ScriptDir & "\Home.htm")

Works like a charm.

P.S. you might need to change .htm to .html depending on the file-extension. :huh2:


Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler]

Share this post


Link to post
Share on other sites

ShellExecute(@ScriptDir & "\Home.htm")

Works like a charm.

P.S. you might need to change .htm to .html depending on the file-extension. :huh2:

Thank Hannes123,it worked perfectly

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0