Solved

Providing context sensitive help

Posted on 2004-09-28
7
150 Views
Last Modified: 2010-05-02
Hi,

I have a pdf file, which is the user manual. On the main menu when help icon is pressed it opens with the starting page but if I am on a form in the application and need some help abt that specific page and click the help, it should open the help in a separate window bringing the page containing the topic related to the form.

For example say the user is working in the form "Edit Audit Info"

He wants to see the help for the required fields or some thing else "How To ?" for this page and when he clicks the Help button, the help window should open with this Topic.

Please help me .

Thanks,
Swami...

0
Comment
Question by:swami_varahagir
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 76

Expert Comment

by:David Lee
ID: 12174683
How are you opening the PDF file when help is called for?
0
 
LVL 3

Accepted Solution

by:
sgayatri earned 500 total points
ID: 12177234
Try if you can open with shell or shellexecute commands by passing the page number along with the file name

0
 
LVL 10

Expert Comment

by:anv
ID: 12178551
if u r using VB...

then help files created for VB uses a HelpContextID property, for the Topic u want to Show when user clicks help for the given control..

check if u have any ContextId available in ur PDF document..

or else create a Help File .chm...

for more help

visit http://msdn.microsoft.com/library/default.asp?url=/library/en-us/htmlhelp/html/vsconHH1Start.asp
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

Author Comment

by:swami_varahagir
ID: 12221089
Hi Gayatri,

Currently I am using ShellExecute to open the file, but It opens the first page only. I need to open the doc based on the book mark. Can you suggest me how to do that with a small example.

Thanks,
Swami...
0
 
LVL 76

Expert Comment

by:David Lee
ID: 12221668
I don't know of and cannot find any way to get Acrobat to go to a particular page when launched form the command line, which is the functional equivilent of using ShellExecute.  However, if you're willing to use the browser instead, then you can tell Acrobat to open to a particular page.  See this link for details: http://www.adobe.com/support/techdocs/315385.html

Actually, using the browser might be a better idea.  For one thing it'd allow you to keep the help file stored centrally where it'd be far easier to keep it up to date.  You could also open the help file in a WebBrowser window making the help appear more like part of the system than a separate piece.  It's worth a thought.

To use it this way you'd just need to set the HelpContextID properties to the URL and page number of the correct location within the Acrobat document.
0
 

Author Comment

by:swami_varahagir
ID: 12229059
I could not solve this problem.

I am trying to Use Adobe Acrobat 5.0 Type library. I have to open the pdf document at a specific bookmark. How do I achieve it. I have to open it from a VB application.
I need immediate help. Plz give some suggetions.

Thanks,
Swami...
0
 
LVL 3

Expert Comment

by:sgayatri
ID: 12274658
Swami,
I could not open my mail for a long....
Let me see, if I can do the REAL help ....
Gayatri

0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

758 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

18 Experts available now in Live!

Get 1:1 Help Now