?
Solved

Problem in HTML help

Posted on 2004-08-18
6
Medium Priority
?
125 Views
Last Modified: 2012-05-05
hi expert

i create a  .Chm in MS HTML HELP workshop and in that there is seval HTML pages
now i able to open help file form vb but now my problem is .....
 
i just pass some string variable through api (HtmlHelp or any) from vb so when i
call the function the help should be open and the html pages contain that string
will shown in display area when help file is pop up

for example if i pass thorugh vb variable="Process 2" then the html page which
contain "Process 2" word in it should be shown in help file

i really need this solution as early thanks for you time
vsvb
0
Comment
Question by:vsvb
  • 2
4 Comments
 
LVL 5

Expert Comment

by:cristy56
ID: 11837457
can u show the code how you pass the var from VB api to the .chm file in your original program first ?

Cristy
0
 
LVL 5

Expert Comment

by:cristy56
ID: 11837526
This pdf may help u, pls take a look.

http://www.smountain.com/resource/VBHTMLHelp.pdf

Cristy
0
 
LVL 3

Author Comment

by:vsvb
ID: 11838703
hi cristy56
tx but actually that not figure it out how to do it to pass the string variable to helpfile and
display the topic which contain that string and this is my question actually !!!!!!!!

i agin repet my problem is in help file on find window when you search some word its search and open that page area wich contain that string i like same thing through vb that when i pass some string parameter to help file and it open with specified area which contain that string.. right now i am trying below api but still i not figure it out :(

Private Declare Function HTMLHelp Lib "hhctrl.ocx" Alias "HtmlHelpA" (ByVal hwndCaller As Long, ByVal pszFile As String, ByVal uCommand As Long, ByRef dwData As Any) As Long
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12542542
PAQed, with points refunded (500)

modulo
Community Support Moderator
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…
Suggested Courses

831 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