• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

.net app - problem with multiple helps

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    .net app - problem with multiple helps

    Cant find nowt on net and no answers on expert boards, maybe someone here knows.

    Opening context sensitive main help file as follows:

    Help.ShowHelp(Me, HelpProvider1.HelpNamespace, HelpNavigator.KeywordIndex, pr.PicTopics(CurrentView) )

    Also using standard Help format for some content elsewhere:
    Help.ShowHelp(Me, InstTextFile)

    Problem is, if this 2nd help is already open when users click main help, the main help opens twice, once properly and once using the window definition of the 2nd help, i.e. with no contents page. Unfortunately it is this 2nd one that appears on top.

    How can I check if help is still running so can close it? (without confusing with any help from another app)

    Cheers for any notions.
    bloggoth

    If everything isn't black and white, I say, 'Why the hell not?'
    John Wayne (My guru, not to be confused with my beloved prophet Jeremy Clarkson)

    #2
    Perhaps checking the process list should allow you to have some reliable heuristics that would allow you to identify if your help is already open or not?

    Comment


      #3
      Ah, process list has thrown up a few things on google worth checking out. Cheers atw.

      PS
      Hmm, can't see it there. That is plainly same list as comes up in 2nd tab of task manager. What I really want is the applications list on 1st tab, does not seem to be one. Pah!
      Last edited by xoggoth; 21 March 2008, 14:01.
      bloggoth

      If everything isn't black and white, I say, 'Why the hell not?'
      John Wayne (My guru, not to be confused with my beloved prophet Jeremy Clarkson)

      Comment


        #4
        np - check out DDE - it should be possible to send signals to existing window to do that or this, so if you detect help is already open then you can, probably, send signal to open another help chapter. I am suprised it does not do that automatically though.

        Comment

        Working...
        X