Html help file not initialized.

I have generated a help-file for a form and the file is fine.
The Content_id is set, and I have generated the form again.
I4ve set the help preference to HTML, and the code for the key help is added as follows:
BEGIN
     CGHP$CALL_HTML_HELP(
          'CG_FORM_HELP',
          'IZI.htm',
          'c:\appl\fmb\',
          '_blank',
          'IZI3020F',
          :SYSTEM.CURSOR_BLOCK,
          :SYSTEM.CURSOR_ITEM);
     message('passes here!');pause;
EXCEPTION
     WHEN OTHERS THEN
          CGTE$OTHER_EXCEPTIONS;
     message('error!');pause;
END;
It doesn4t go to the exeption and seems to pass the message after the call to CALL_HTML_HELP. I have checked that the QMSLIB65 is attached before the OFGHLP lib and that is so!
I don4t have a clue as to what I4m doing wrong. Are there other preferences to be set, or are you not able to call the HTML from the network drive. Or should I set a different path or no path at all??
Thanks fo anyone who takes the time to try and help me!
Martijn!

Martijn,
Try setting the help preference to MS help instead of HTML help. I know this is counter-intuitive. :-)
Headstart forms do not use the native HTML help generated by designer, because this help relies on querying the help information from a database table. Rather, we override the CGHP$CALL_MS_HELP procedure to display the html help document.
You can look at the headstart demo application to see how this is done.
Regards,
Lauri

Similar Messages

  • Crash on search function for HTML Help file (.chm) when connected to a Visual C++ application

    Crash on search function for HTML Help file (.chm) when
    connected to a Visual C++ application
    I use the RH_ShowHelp API command to connect a HTML Help file
    (.chm file generated by RoboHelp Word X 5) to my Visual C++
    application. My application is able to call up this HTML help file
    in context-sensitive mode and everything is working great in the
    Contents and Index panels EXCEPT when I click on List Topics (after
    I enter a KEYWORD for search) in the Search panel.
    I got an error that said “Unhandled exception in
    xxxx.exe.(HHCTRL.OCX):0xC00000FD: Stack overflow”
    I am able to execute this .chm file by itself and the search
    function works well in this case. I am using HHActiveX.dll that is
    created on 2/23/04. Is this the correct version?? Any advice what
    to do here??

    Hi agschin and welcome to the RH forums. The hhactivex.dll
    file is not used by the search function so you can rule that our.
    Have you tried recompiling and seeing if the problem still happens?
    You can also start the Bug Hunter feature in RH - View > Output
    View and then select the Bug Hunter button - and see if that throws
    up any clues.

  • How do I tell the installer to put my html help files in the helpdir symbolic location?

    I used the File>>Print function to create an HTML help file for my application and specified in the VI Properties for the app to use <helpdir>:\ApplicationHelp.HTML as the Help Path. This should pop up the help file when a user selects "Help for This VI" from my custom menu. It works from my development directory because I installed the help files into the help directory manually, but I can't figure out how the get the installer to put the files in the correct location on the target system.  I tried putting them in [LabVIEW 2010 Help] in the Destination View for the Source Files category, but that didn't work.  Anyone know the right way to do this?

    kgarrett88 wrote:
    Hey MrSmith, 
    In LabVIEW 2010 SP1, if open the Project and right click My Computer, you can add the help file as a source. After you have added this file, you can then create an installer. Under the Destination header, you can add your desired destination path. After you have done that, you can go to the Source Files header and add the help file to that destination you created. 
    Hope this helps. Good luck with your application!
    ~kgarrett
    Thank you for the reply! I had already done the steps you suggested, so let me put up some screen shots that should help you understand my issue better. First, I specified the path to the help information on the Documentation screen of the applications Properties:
    Next I had added all the help files (DetectorFT.html and all the .png files) to the source in a virtual folder I named Resources.
    Next, for the release build I specified the files to be Always Included on the Source Files header.
    Next I created a Resource Directory as a destination for the release build.
    Then I specified the Resource directory as the destination for the files for the Release build.
    After creating the Release build, I created an Installer build and told it on the SOurce Files screen to put the help files into the [LabVIEW 2010 Help] directory.
    I had assumed that putting the files in the [LabVIEW 2010 Help] destination would put them into the correct directory when the installer ran.  When I ran the installer on the target system, the ran the application I tried to select the "Help for This VI" tab on the menu, but it was grayed out indicating it could not find the file in the proper location.  So the question I have is, what IS the proper location for the files to be installed to so the the application will find the Help files when it is looking for them at the <helpdir> Symbolic Path location? Thanks again!
    Jim Smith

  • Open an HTML Help file

    I'm trying to open an html help file from my program. The source file where I call it is in the package A in the JAR, ant the HTML file is in package HTML in the JAR; so that I do:
    Runtime.getRuntime ().exec ("cmd /c start HTML/Help.html");
    But it doesn't find the file. Any idea?

    If it's in your JAR, you can't directly use a system call to open it. You have to extract it from the JAR and save it to disk unpacked, at least temporarily. Otherwise, you use an All-Java HTML viewer that can cope with an InputStream source (however, hyperlinks won't work in this case). For this reason, I would suggest not to include the HTML files into the JAR at all but deliver it along with the JAR.

  • Customize Workspace HTML help files

    Hi, is there a way to edit / add to the html help files available to workspace users?
    Thanks
    Michael

    Where adobe Photoshop help is installed depends on the version. It is also not HTML based I beleive its Adobe Air based.
    For example CS2 help is started with  "C:\Program Files\Adobe\Adobe Help Center\ahc.exe"
    and CS5 Help "C:\Program Files\Adobe\Adobe Help\Adobe Help.exe"
    Therfore create a folder for Photoshop help and unzip the zipped Photoshop CS5 help HTML files you say you found into that folder. There will be a root html page file in that folder likely named index.html which you need to point a browser to in order to navagate between the html pages..
    So since you have CS5 perhaps if you create a bat to start a browser pointed to your html help where the bat file name is "C:\Program Files\Adobe\Adobe Help\Adobe Help.exe"  instead of .bat  F1 in CS5 may work.
    You could also try editin your Photoshop shortcut keys delete Photoshop shortcut key F1 from the help menu. After deleteing that shortcut. Create a help.jxs to open your Photoshop Help files index.html file. Then create a action that uses this photoshop script help.jsx and asign F1 to the action. 
    The help.jsx script would be along this line
    // A Photoshop Script by JJMack's used by an Action
    // This script is supplied as is. It is provided as freeware.
    // The author accepts no liability for any problems arising from its use.
    #target photoshop
    app.bringToFront();
    try{
       var URL = new File(Folder.temp + "/PhotoshopHelpt.html");
       URL.open("w");
       URL.writeln('<html><HEAD><meta HTTP-EQUIV="REFRESH" content="0; url=file:///C:/HelpPath/Index.htm"></HEAD></HTML>');
       URL.close();
       URL.execute();
    }catch(e){
    alert("Error, Can Not Open.");

  • HTML help files.

    Is there any good way to control HTML help files from LabView (*.chm)

    Hello,
    Without the original compiler and project files it is not possible. I have been writing all types of help files mostly in CHM, without the project file and the compiler you simple can not. The actual compiler is critical as third party compilers will inject
    their own stuff into project files that the native compiler from Microsoft will not understand.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.

  • I am having Html help files inside my Jar file

    Dear Friends;
    i am having Html help files inside my Jar file.
    how will open the html file using Java Help.
    Thank u

    http://java.sun.com/products/javahelp/reference/docs/index.html

  • HTML help file showing garbage value for french language

    I want to show Help/Tips in my Java application.
    The required help file is simple an HTML file which I am showing on a JPopupMenu using JHelpContentViewer editor.The problem is when I want to show this in Fench language a particular character is displaying garbage value.
    But I open the same HTML help file in a browser (i.e internet explorer..) its showing me the correct value..
    I am using VM1.4.2 and operating system is Win2000.

    Did you specify the correct encoding?

  • Cannot execute Microsoft HTML Help file from within Eclipse managed app.

    I took an easy solution and created a help system for a large Java application using the Microsoft HTML Help Workshop as the IDE. The Help System does exactly what the client wants, but when I tried to integrate it into the application I ran into a brick wall.
    I wrote a very small Java app to see if I could execute the compiled help file (RAS_Help.chm) under the simplest circumstances. The code, which runs fine under VJ++ throws the following exception when run from Eclipse
    e: java.io.IOException: CreateProcess: RAS_Help.chm error=193
    * Created on Mar 20, 2004
    * To change the template for this generated file go to
    * Window>Preferences>Java>Code Generation>Code and Comments
    package pkgTesting;
    import java.io.*;
    * @author Owner
    * To change the template for this generated type comment go to
    * Window>Preferences>Java>Code Generation>Code and Comments
    public class ExeTest {     
         public static void showHelp() {
              Runtime rt = Runtime.getRuntime();
              String prog = "C:\\SCA\\RAS_Help.chm";
              try {
                   rt.exec(prog);
              } catch (IOException e) {
                   System.err.println("e: " + e);
         public static void main(String args[]) {
              showHelp();
    I assume the problem is in launching .chm files, since if I change the program I want to execute from the RAS_Help.chm file to the Windows Solitare game (sol.exe) the program works like a charm with no errors thrown.
    Can anyone give me some guidence on this? If it is impossible to run the HTML Help file I created, I'd be ammenable to redoing it in some other package, if that would guarentee my being able to use it in the client's large application.

    Try this;-*/class OpenBrowser{
       final String WIN_ID = "Win";
    * @throws java.lang.Exception
       OpenBrowser(java.io.File file){
          if(isWindowsPlatform() ){
             try{
                Runtime.getRuntime().exec(tryCommand1()+file);
             }catch(Exception exc1) {
               try{
                   Runtime.getRuntime().exec(tryCommand2()+file);
                }catch(Exception exc2) {
                   try{
                      Runtime.getRuntime().exec(tryCommand3()+file);
                   }catch(Exception exc3) {
                      if(MainEditor.getOpenBrowserHelper() ) new OpenBrowserHelper(file);
          else {
             try{
                Runtime.getRuntime().exec(tryCommand3()+file);
             }catch(Exception exc4) { if(MainEditor.getOpenBrowserHelper() ) new OpenBrowserHelper(file); }
    * @return true if this is a Windows OS
       private boolean isWindowsPlatform(){
          String os = System.getProperty("os.name");
          if ( os != null && os.startsWith(WIN_ID))
             return true;
             return false;
    * @return String path /protocal to open the Internet Explorer browser
       private String tryCommand1(){
          return "C:\\Program Files\\Internet Explorer\\Iexplore.exe file://";
    * @return  String path /protocal to open the default browser
       private String tryCommand2(){
          return "start rundll32 url.dll,FileProtocolHandler file://";
    * @return  String path /protocal to open the default browser
       private String tryCommand3(){
          return "file://";
    }

  • Heading style customizations not reflected in HTML Help file

    I wanted to share a solution I found for a problem with heading styles. I am using RoboHelp 9 for Word with Office 2010 and generating an HTMLHelp .chm file. When I migrated from Office 2003 to 2010 and RoboHelp 8 to 9, I customized the RoboHelp.docm template file to change the heading styles to have an orange border line over the header. (I had made the customizations in RH 8 for Word, but couldn't transfer the customization to the new template, so I did it by hand). The border line came out black in the header file in most of my topics in the .chm help file. I found one Word doc had topics with the orange line displayed correctly in the help and discovered that that heading style had Style Type = Linked, so I went to each of my Word docs and changed my Heading 1 style to use that style type and it fixed it for all my heading styles.
    In Word 2010, you can change this from the Home tab, Styles ribbon. Rt-click on the Heading 1 style and choose Modify. In the Modify Style dialog set Style type to Linked (paragraph and character).

    Thanks for sharing!
    Greet,
    Willam

  • Photoshop CS5 help file not showing on German Win7

    Hi,
    I try to display the help file from within PS CS5 and that is not working. I can neither watch the community help online nor download it for offline use since the app seems unable to connect to a working online source.
    It shows "The requested URL /de_DE/Photoshop/cs/using/AH_HOME.html was not found on this server."
    All apss have been updated to the newest release, everything else is working fine.
    I sue Win 7 64bit german, ps is also installed in german.
    Any ideas?
    PS: sorry just realized I put this into the mac thread by error. Can someone please move it to the correct forum areas pls?
    Message was edited by: Beholder003

    function(){return A.apply(null,[this].concat($A(arguments)))}
    c.pfaffenbichler wrote:
    I sue Win 7 64bit german, ps is also installed in german.
    So why are you posting in the Macintosh Forum?
    Oh, sorry, I didn't expect people who can't even read on a forum.

  • Help Files Not Displaying

    My customer's help files are acting strangely.  When I try to access them the Help Window displays but every topic shows as u201CThe Page cannot be displayedu201D.
    We have tried downloading to the shared and local folder, and neither work.
    Any pointers much appreciated.
    Thanks
    Greig

    Hi Greig,
    Please try the following:
    1."Right click" on the B1_SHR folder(generally found in C:\Program Files\SAP\SAP Business One\B1_SHR) and go to "properties".
    2.Choose the "security and sharing" tab in the window.
    3.Allow "full control" to the relevant "user" and click "apply".
    4.Run SAP Business One Help now.
    ->I also found that:
    As per Microsoft the issue might  be a vulnerability in "HTML Help".The resolution requires a change in registry settings of the help file.
    I would request you to go through the following link:
    MS Knowledgebase: http://support.microsoft.com/kb/896054
                                   http://support.microsoft.com/kb/896358/en-us
    Another thing you can check is the help settings on the particular PC. Go to help/help settings. Make sure they are set according to all other clients.
    You can refer SAP Note no 896944 and 1178123 for more information.
    Regards,
    Varun
    SAP Business One Forum Team.

  • Merging HTML help files

    Hello
    I am trying to improve a compiled html help (.chm) file.  The only stuff I seem to find requires the source files and I only have the chm file.  Can this be done or should I forget the whole idea?
    JM

    Hello,
    Without the original compiler and project files it is not possible. I have been writing all types of help files mostly in CHM, without the project file and the compiler you simple can not. The actual compiler is critical as third party compilers will inject
    their own stuff into project files that the native compiler from Microsoft will not understand.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.

  • HTML Help is not working in SAP

    Hi,
    Here we are facing some problem when we are accessing SAP Help through SAP.
    Though windown XP i am accessing the SAP Application Help.
    Here in my PC i am having 4 windows XP hotfixes, through it the help is accessing.But in another PC which automatically updates its windows version through internet is having 94 hotfixes.From this PC the help is not accessing.
    Please help me on this.How to come over this problem.
    Thanks in Advance.

    Hello Mr.Pravin,
    I have recently configured HtmlHelp in ecc6 - windows2003 environment thru SR13.
    If i directly opens .chm file it is opening properly..
    but when i am opening it thru SAP gui .. like help->application help
    i am getting error as
    "action cancelled " "Internet Explorer was unable to link to the Web page you requested. The page might be temporarily unavailable"
    i have tried 'Itssrestrictions' registry option also .. buut unable to get the solution..
    can u plz help me ???
    Shailesh

  • Help File not displaying with in SAP

    Hi
    Im trying to get the help file to work in SAP.
    i Have looked at where SAP is fetching the file and i have placed it there.
    But when i go into SAP and press F1 i get an error message ...
    "Navigation to the webpage was canceled
       What you can try:
         Retype the address. "
    Can anyone please help me with this one as to why it is not working?
    Thanks

    Dear Jonathan,
    Could you please try the following steps :-
    o Change the Help Settings from 'Shared Folder' to 'Local
    Installation' under Help => Help Settings.
    o Business One will then look for the Help folder on the local B1
    Client and not on the B1 Server.
    o This will only work if the B1 Client has the Help folder locally
    installed.
    o If not this could be manually copied from SBO_SHR directory to
    the client.
    o Alternatively all the B1 Clients will need to be reinstalled.
    Regards,
    Rakesh Pati
    SAP Business One Forum Team

Maybe you are looking for