Calling a "hlp" file
Calling a "hlp" file
Calling a "hlp" file
Calling a "hlp" file
Calling a "hlp" file
Calling a "hlp" file Calling a "hlp" file Calling a "hlp" file Calling a "hlp" file Calling a "hlp" file Calling a "hlp" file Calling a "hlp" file Calling a "hlp" file
Calling a "hlp" file Calling a "hlp" file
Calling a "hlp" file
Go Back  Xtreme Visual Basic Talk > > > Calling a "hlp" file


Reply
 
Thread Tools Display Modes
  #1  
Old 08-16-2016, 05:36 PM
leezinho leezinho is offline
Freshman
 
Join Date: Jun 2009
Posts: 44
Default Calling a "hlp" file


What do I need in my VB5 code to invoke a help file, say "xyz.hlp"?
(This file is identified as "Microsoft Windows Help", prepared with a help file editor which failed to survive the migration to my present computer.)
Reply With Quote
  #2  
Old 08-16-2016, 07:38 PM
OnErr0r's Avatar
OnErr0rCalling a "hlp" file OnErr0r is offline
Obsessive OPtimizer

Administrator
* Guru *
 
Join Date: Jun 2002
Location: Debug Window
Posts: 13,767
Default

You can use the common dialog control ShowHelp method or WinHelp API.
__________________
Quis custodiet ipsos custodues.
Reply With Quote
  #3  
Old 08-16-2016, 09:50 PM
leezinho leezinho is offline
Freshman
 
Join Date: Jun 2009
Posts: 44
Default

Thanks.
Both "ShowHelp" and "WinHelp", in VB5, get me a message "Keyword Not Found".
Can you tell me more about that?
I found WinHelp.exe in my Windows folders, but it says it's unable to open my ".hlp" file.
Meanwhile, when I simply click on that .hlp file it opens and functions with no problem.
I just need for my VB5 program to be able to open it so easily.
Reply With Quote
  #4  
Old 08-16-2016, 11:00 PM
OnErr0r's Avatar
OnErr0rCalling a "hlp" file OnErr0r is offline
Obsessive OPtimizer

Administrator
* Guru *
 
Join Date: Jun 2002
Location: Debug Window
Posts: 13,767
Default

__________________
Quis custodiet ipsos custodues.
Reply With Quote
  #5  
Old 08-17-2016, 10:47 PM
leezinho leezinho is offline
Freshman
 
Join Date: Jun 2009
Posts: 44
Default

I searched online for the term "CommonDialog" and found advice on how to bring it into the Tool Kit, but for me that process was interrupted by a message "Permission Denied". Explanation: I don't have access to the Registry. What now?
Reply With Quote
  #6  
Old 08-17-2016, 11:23 PM
OnErr0r's Avatar
OnErr0rCalling a "hlp" file OnErr0r is offline
Obsessive OPtimizer

Administrator
* Guru *
 
Join Date: Jun 2002
Location: Debug Window
Posts: 13,767
Default

Might try running VB5 "as administrator".
__________________
Quis custodiet ipsos custodues.
Reply With Quote
  #7  
Old 08-23-2016, 12:28 PM
leezinho leezinho is offline
Freshman
 
Join Date: Jun 2009
Posts: 44
Default

Thank you, OnErrOr.
With your help I have found my way to a procedure that activates the Help file. Your suggestion to run VB5 "as administrator" was the key; well, one key. When I run as administrator, VB5 is unable to find the forms and the thousands of lines of code that I have written. It seems that I will have to open VB5 as administrator with a blank slate and copy the program, piece by piece, onto it.
Reply With Quote
Reply

Tags
computer, file, microsoft, prepared, windows, hlp, calling


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Calling a "hlp" file
Calling a "hlp" file
Calling a "hlp" file Calling a "hlp" file
Calling a "hlp" file
Calling a "hlp" file
Calling a "hlp" file Calling a "hlp" file Calling a "hlp" file Calling a "hlp" file Calling a "hlp" file Calling a "hlp" file Calling a "hlp" file
Calling a "hlp" file
Calling a "hlp" file
 
Calling a "hlp" file
Calling a "hlp" file
 
-->