Sign in to follow this  
Followers 0
Wingens

Opening HTML FILE in internet Explorer

4 posts in this topic

Hi, i am trying to open a website that i have created, it will be on de cd that the script is running from so i am trying to open a index.html in internet explorer.

this is my piece of code that i am working on:

Func HELP()

$SITE = "Tools\Help\Index.html"

Run("c:\program files\internet explorer\iexplore.exe \Tools\Help\Index.html", "Tools\Help\", @SW_MAXIMIZE)

EndFunc

i think i am doing something wrong.

Can you help me.

sincerely,

Mark Wingens

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

i'm getting an error that says my computer does not have a programm connected to the file type so it doen'st know what to do...

Try this:

Func HELP()
$SITE = @ScriptDir & "\Tools\Help\Index.html"
ShellExecute("c:\program files\internet explorer\iexplore.exe", $SITE, @ScriptDir & "\Tools\Help", @SW_MAXIMIZE)
EndFunc

Edited by Wingens

Share this post


Link to post
Share on other sites

found it :)

this is how i got it to work:

Func HELP()

ShellExecute("Tools\Help\Index.html")

EndFunc

thx to your very fast reply ;)

many thx

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