Jump to content

Calling a .chm file from help menu?


Recommended Posts

If $msg = $helpitem Then Run(@ScriptDir & "\wizard.chm")

I'm trying to open up a .chm file when the help > using session wizard msg box is clicked in the GUI app I've created.

I've searched the site for 1 hour straight, reading through various posts and can't seem to find an answer. I know that the supported extensions for run does not seem to support .chm but is there a way to call up a help file?

Please advise.

Thanks,

[font="Optima"]"Those who heed life with speculation and contemplation, are the ones stuck home with constipation." - Joel[/font]

Link to comment
Share on other sites

Before someone says to read the FAQ, I did but just couldn't figure out the syntax. After 90 minutes though, I did find something that helped and I figured it out.

If $msg = $helpitem Then Run ( @ComSpec & " /c start " & "wizard.chm" )

FYI for anyone else who is searching.

[font="Optima"]"Those who heed life with speculation and contemplation, are the ones stuck home with constipation." - Joel[/font]

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...