• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 127
  • Last Modified:

Problem in HTML help

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
  • 2
1 Solution
can u show the code how you pass the var from VB api to the .chm file in your original program first ?

This pdf may help u, pls take a look.


vsvbAuthor Commented:
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
PAQed, with points refunded (500)

Community Support Moderator
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now