Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using robohelp file in powerbuilder

Status
Not open for further replies.

IshPradhan

Programmer
Nov 18, 2010
1
US
thread144-295037
I need to use a .htm or .chm file created by RoboHelp in Powerbuiler to show the help files.
Any help would be appreciated.
P.S. I see a thread for this question but the thread is closed
Thanks
 
As I see it there are two approaches to opening help for an application from Powerbuilder.

1) Create a series of separate help files, one for each window or process or business rule or etc..., then within your application call the appropriate help file. I've seen this done by a help service which is invoked and sent a topic id parameter and the service then opens the appropriate file.

2) Create a .net object which does something like:
Code:
string helpFile = "MyHelpFile.chm";
if (System.IO.File.Exists(helpFile))
{
HelpNavigator hn = HelpNavigator.TopicId;
Help.ShowHelp(this, helpFile, hn, "62");
}

and in which you also create a method so you can pass the topic id ("62" in the code above). You then embed this in your PB app to handle calling help. How you specify the topic ID in the .chm file is something RoboHelp should tell you.

Matt

"Nature forges everything on the anvil of time"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top