Wingens Posted November 3, 2009 Share Posted November 3, 2009 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 More sharing options...
Varian Posted November 3, 2009 Share Posted November 3, 2009 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 Link to comment Share on other sites More sharing options...
Wingens Posted November 3, 2009 Author Share Posted November 3, 2009 (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 November 3, 2009 by Wingens Link to comment Share on other sites More sharing options...
Wingens Posted November 3, 2009 Author Share Posted November 3, 2009 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 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