Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi everyone... I've been working

Status
Not open for further replies.

lesina

Programmer
Apr 10, 2001
76
ES
Hi everyone...

I've been working with VB6 and also with help files.
I used a very good tool that comes with vb6 "package"-the Microsoft Help Worshop...it's easy and amazing!

And then, after having the help file done, i used the helpContextID to connect each form and msgbox or even inputbox, to a specific part of the help file .
worked perfectly...

but now, i sent my full-work to my boss, and when he tested it, he said that each time he clicks F1 (the key calling the help as always), he gets a message"...(something) lang reference not defined in your project file"...
It works in my computer...what the heck is different on his?
Where can i define this "lang reference"?

Thanks a lot, in advance

Marta Oliveira
[CPCTA- Braga]
 
Although this is beside the point, let me say that Microsoft's free html Help Workshop which creates .chm files should be used instead of the older system which creates the older .hlp files.

Am I to understand that you've created a .chm or .hlp file?
If you have, then where on your boss' machine is it deployed? Do you tell your application where the helpfile is? If it is in a different place then where you specified in the project properties dialog box then your app may not be able to find it.

What you're supposed to do, and what you may have done already, is deploy your help file to the same folder as your exe. Then, in your form load event use this line of code to tell your application where its help file is:

app.helpfile = app.path & "\filename"


Hope this helps!
Josh
 
Hi, Josh, thanks a lot for your reply

Well, i´ve created a .hpj project and with it, a .hlp file.

my aplication is a VB6 aplication, so i used the project->properties to give the right helpfile path and certainly so did my boss...that should not be the problem...
Anyway, the fact is i can't find out what kind of message is ...i cant't find in the net anything related <i>to missing lang reference in project file</i> or <i>missing lang reference definition</i> or anything like that.
What i think is that, probably (i'm on a PC and he's using a portable, probably with different OS or maybe different definitions is causing the problem).
i don't know if he had that message in the vb project ( forms and all the code opened on the vb6) or if that happened when he tested the .exe i sent.
Still, it's a very strange message and i can't figure it out...


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top