Jump to content
Sign in to follow this  
DUNGYEUANH

Open html

Recommended Posts

DUNGYEUANH

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
DUNGYEUANH

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
hannes08

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
DUNGYEUANH

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  

×