Solved

How to open a topic, VB6-RoboHelp-OSWinHelp

Posted on 2000-03-09
10
337 Views
Last Modified: 2012-06-27
Hello!

I use the OSWinHelp Me.hwnd, App.HelpFile, 261, 0 to open the helpfile.
But how to do if I like to open a specific help topic?
0
Comment
Question by:jannea
10 Comments
 
LVL 1

Author Comment

by:jannea
ID: 2600812
I guess this is the one, but...

OSWinHelp Me.hwnd, App.HelpFile, &H1, "Where do i find this parameter?"
0
 
LVL 1

Expert Comment

by:dosyl
ID: 2602430
I'm not sure to understand, but if you can put the Topic'snumber in the HelpContextId's property in Vb natuerlly; and press F1 to access it.
0
 
LVL 1

Author Comment

by:jannea
ID: 2603525
Adjusted points to 100
0
 
LVL 1

Author Comment

by:jannea
ID: 2603526
I will use it to open upp specific help topic's, eg when pressing help button in a dialog.
0
 
LVL 9

Accepted Solution

by:
Ruchi earned 100 total points
ID: 2603592
If I understand you correctly,...

This following code shows how the Common Dialog is used to display a particular topic in a help file:

With cdlHelp
  .HelpFile = App.Path & "\Test.hlp"
  .HelpCommand = cdlHelpContext
  .HelpContext = 110  'display a specific topic
  .ShowHelp
End With

If you want to look for a particular keyword, use cdlHelpKey.

If for a keyword starting with a specific letter, use cdlHelpPartialKey.

Is that what you are asking for?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 1

Author Comment

by:jannea
ID: 2603637
Ruchi, Yes I guess so.

But when i copy My TopicID from Robohelp .HelpContext="IDH_Tidbokning_Välkommen_till_Tidbokning" it dosent work.

Were do I find the numeric value for the topic ID?
0
 
LVL 9

Expert Comment

by:Ruchi
ID: 2603735
I just learned this concept from the book today as I was preparing for the Microsoft Certification examination. I pasted the code from the book... But, I'd suggest you to go to http://msdn.microsoft.com/library/devprods/vs6/vbasic/cmdlg98/vbctlcommondialogcontrolhelpexamplex.htm
This is a very good example how to use Help Context Properties, etc.

http://msdn.microsoft.com/library/devprods/vs6/vbasic/cmdlg98/vbprohelpcontext.htm

http://msdn.microsoft.com/library/devprods/vs6/vbasic/vbenlr98/vaprohelpcontext.htm

Hope this helps you.
0
 
LVL 1

Author Comment

by:jannea
ID: 2603743
Thanks I did get the numericID's from the hh-File
0
 
LVL 27

Expert Comment

by:Ark
ID: 2603888
Hi
>IDH_Tidbokning_Välkommen_till_Tidbokning
This is not ContextID, this is Context String. This string is unigue for each topic and use INTERNALLY in WinHelp. You can find ContextID for your topic with mentioned Context String at [MAP] section of your .hpj file. I don't know Robohelp interface, but I'm sure that each topic MUST have unique ID and Context String. If RoboHelp hide ID for topics (why?), you may try to compile project not to .hlp, but to .hpj file (as far as i know many help tools allow to do this). And if nothing above can not help you, you can decompile you project, using help decompilers (you can find them at http://www.helpmaster.com). Then open .hpj file in any text editor (Notepad is OK) and look at [MAP] section

Cheers
0
 
LVL 1

Author Comment

by:jannea
ID: 2603972
Ark, thanks but I have alredy solved it..
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now