Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compiling help system
Message
From
07/03/2007 11:12:03
 
 
To
07/03/2007 10:59:39
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows XP
Miscellaneous
Thread ID:
01201473
Message ID:
01201546
Views:
18
>>>I can't compile the help system (with HTML Help Workshop), until I either close VFP, or SET HELP OFF. I get an error message, stating that the help compiler can't open the CHM file.
>>>
>>>This is strange, for when my SET HELP doesn't involve the help file I want to compile:
>>>
>>>
>>>set("help") = "OFF"
>>>set("help", 1) = (the standard VFP help file, ...foxhelp.chm)
>>>
>>>
>>>Since this only happens after I had opened the compiled CHM file in VFP, it seems obvious that the file is somehow in use, despite the fact that on shutdown, the main program sets help back to the standard VFP help.
>>>
>>>Any ideas?
>>
>>When does ON SHUTDOWN fire?
>
>The problem I mention is after quitting my application, and returning to the VFP command window. The problem only appears if at some moment I did open the compiled help file.
>
>So, there is no active ON SHUTDOWN.
>
>I can circumvent the problem by issuing SET HELP OFF, but I still find this weird.

If you are running your application in the development environment and then quiting to the command window, ON SHUTDOWN is not firing to release the help file. ON SHUTDOWN does not fire until you EXIT foxpro. Try putting a messagebox or something in the ON SHUTDOWN routine so you can see when it fires.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform