Jump to content

Opening HTML FILE in internet Explorer


Wingens
 Share

Recommended Posts

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

Link to comment
Share on other sites

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...