Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
5.00/5 (2 votes)
See more:
I want to open help file from Resources folder. how to define

Global.Help.My.Resources.Help


What I have tried:

System.Diagnostics.Process.Start(Environment.CurrentDirectory & "\Resources\Help.chm")
Posted
Updated 30-Dec-18 4:50am

1 solution

AFAIK the only way to display help is from a physical file, not from an embedded resource. So you can do it by including the file in your project resources, making sure that it is not marked as "Embedded", and setting CopyToOutputDirectory to "Copy if newer".

Then use the Application.StartupPath Property (System.Windows.Forms) | Microsoft Docs[^] to locate the file itself.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900