HTML Help Builder
Displaying Help.chm file
Gravatar is a globally recognized avatar based on your email address. Displaying Help.chm file
  Jim Day
  All
  Mar 25, 2025 @ 05:43am

! hh.exe "c:\webconnectionprojects\whogoes\web\help\whogoeshelp.chm"

Is the above a save way to have access to the chm file?

I saw old posts but Properties no longer has an unblock option. At least I can't find it.

Thanks

Gravatar is a globally recognized avatar based on your email address. re: Displaying Help.chm file
  Rick Strahl
  Jim Day
  Mar 25, 2025 @ 10:17am

My recommendation is to not use .chm any longer certainly not for displaying help outside of context sensitive help inside of an application. Publish to a Web site and ShellExec() to the Web site.

Help Builder publishes a static site so it's easy and free to host (you can host on GitHub Pages) for example...

You can unblock files with code and also with powershell. I do this in wwDotnetBridge: Before I access the DLLs I make sure the DLLs are not blocked and if they are unblock them before use. You could do the same either as part of your installer or when the app starts.

Unblocking Downloaded Files

And remember that CHM is only blocked if the file is downloaded from the Internet either directly or in a Zip file. If you use a proper installer the file will be accessible.

+++ Rick ---

© 1996-2025