locked
VS 2010 RC Help RRS feed

  • Question

  • Just loaded RC on my slow win7 test machine.

    I started a C# project. Put cursor on any C# keyword and get accurate help showing in Chrome in under 500ms. 
    Other items like namespaces and types etc F1 Help in under 2 seconds. Very acceptable. 
    Nice job. 

    -- Small Problem

    Put the cursor on "InitializeComponent()" is a common call... F1 cannot find a hit (in either Offline or Online mode).

    -- Defaults

    After installing RC my setting is "Local Help"... Is this because Offline is now the default? Or because that's what I set in a previous drop?

    -- 3rd Party F1 using Online help

    Nice. I installed H2Reg help package. Typed in H2reg and F1 returned the local hit even though I was in Online mode.
    I had an F1 keyword = "H2Reg Intro". I typed this into my C# doc, highlighted it, and F1 found it no problems.

    -- Link to away from local page

    Interesting. With Selfbranding=false I now get an remote link type icons appearing next to my web links. Cool.

    -- Problem reading local content

    Oh oh. If you switch to Online help Agent is killed off and all the API calls no longer work.

    In the past I could just call HelpLibAgent.exe to run it in the tray. Now you can't do that.
    So that breaks H3Viewer and any 3rd party apps who embed or call f1/search/index help using http://127.0.0.1/
    That is a serious problem. Report the problem here


    Otherwise all good
    Thanks
    Rob


















    Rob Chandler http://Helpware.net
    Wednesday, February 10, 2010 4:24 AM
    Moderator

Answers

  • Ah (penny drops) so Agent has always had problems with running in Online mode. Testers have been in offline mode and have never noticed it. OK. In H3Viewer I'll need to prompt the user to change to offline mode to run the app.
    Thanks Charles
    Rob

    Rob Chandler http://Helpware.net
    • Marked as answer by Figo Fei Friday, February 19, 2010 7:40 AM
    Tuesday, February 16, 2010 5:41 AM
    Moderator

All replies

  • Rob, did you not get a consent (message box) on your first F1? The default is Online and the user is prompted to click Yes/No on the consent to go Online for F1. Also, calling http://127.0.0.1 to access help directly is not a supported scenario. Please always use MS-XHelp:/// calls, which will start the Help Agent if it is not already running.


    Charles
    Wednesday, February 10, 2010 5:37 AM
  • Ah yes saw consent message. Think I just said yes. Not sure why mine defaulted to Offline mode. Maybe old settings. Not to worry.

    Thanks Charles will take the rest up off line. 
    The http://127.0.0.1/ is pretty serious as it kills H3Viewer and any other 3rd party apps.
    Any power toys you are planning may have the same issue... ie. Wont do anything when switched to Online mode.

    Cheers
    Rob



    Rob Chandler http://Helpware.net
    Wednesday, February 10, 2010 7:17 AM
    Moderator
  • Sorry Rob.. Adding some clarification.

    If you want the default help application (the default internet browser) to render the results, please use the MS-XHelp API. In scenarios like H3Viewer, you need to do a Process.Start of the Help Agent, if it is not already running and then use http://127.0.0.1/*. If you want H3Viewer to be the default viewer you need to set  the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Help\v1.0\HelpViewerProgID registry key to H3Viewer.


    Charles
    Wednesday, February 10, 2010 6:49 PM
  • Thanks Charles. I think you misunderstand. There is bug in the RC release.

    In Offline (local) mode it works the same as in past releases. IE. You can do a Process.Start to start Agent then call http://127.0.0.1/ (as you describe).

    But... with the latest RC release, if you switch to Online mode, Agent closes and you can no longer open it. Process.Start does not work any more. In fact the only way to start Agent in Online mode is to define some local content with F1 tag. Then call local F1 using ms-xhelp://

    Try it. Other people seem to be seeing the same thing. Online inhibits the starting of Agent. The Local F1 with Online mode new feature must have broken things. It maybe fixed already .. but the RC does have this bug.

    Paul is working through this problem with the Devs at the moment.

    Hey thanks for making the Registry ID public. Much appreciated!!! 

    Rob Chandler http://Helpware.net
    Thursday, February 11, 2010 11:53 AM
    Moderator
  • I think the change in behavior you see is because of the default mode change from Beta2 to RC. I don't think it is a bug. Let's discuss this further next week when you are here for the MVP summit :)
    Charles
    • Proposed as answer by Figo Fei Tuesday, February 16, 2010 2:23 AM
    Friday, February 12, 2010 2:39 AM
  • Ah (penny drops) so Agent has always had problems with running in Online mode. Testers have been in offline mode and have never noticed it. OK. In H3Viewer I'll need to prompt the user to change to offline mode to run the app.
    Thanks Charles
    Rob

    Rob Chandler http://Helpware.net
    • Marked as answer by Figo Fei Friday, February 19, 2010 7:40 AM
    Tuesday, February 16, 2010 5:41 AM
    Moderator
  • Sheldon please ignore this thread. This thread was for the pre-release of VS 2010.

    The important point here is that Agent (the Help engine) currently wont serve up help to the viewer in VS Online mode (although 3rd party F1 help calls is currently allowed to start Agent in Online mode). 


    Rob Chandler http://Helpware.net
    Tuesday, August 10, 2010 1:18 AM
    Moderator
  • Rob, Sheldon is just a spammer whose goal is to add hidden link seo spam to forums.

    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP
    Friday, January 28, 2011 5:17 AM