Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PUTFILE() and Help
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00561091
Message ID:
00561410
Views:
26
Hi Bill,

I should have thought of that. After installing the July 2001 MSDN library the context sensitive help for VFP6 was totally broken. July's MSDN included help for VFP7 and the context numbers were all different.

It's simple enough to check the return from the VERSION function and use the correct context id.


>Hi Roger,
>
>One interesting thing I noted. The ContextID in this context must be dependent on the version of VFP it's being used in. When I use sys(1023) on VFP7 I get the contextID you did, but when I run it under VFP6 SP5 I get a ContextID of 268435990 which discombobulated me at first cause the application I'm dealing with is a VFP6 app. I would not have thought the ContextID would be VFP version dependent.
>
>Bill
>
>>Hi Bill,
>>I haven't tried this but:
>> I used sys(1023) to put VFP in help diagnostic mode. Then I did ?putfile() in the command window and clicked Help. The help diagnostic mode asked if it should pass contextid 20000103 (01312D67h) to the help engine.
>>
>>If you create a topic in your help file with that context id then it should call that topic in whatever help file is current.
>>
>>HTH,
>>
>>>When using the PUTFILE() function in an application, a Help button appears on the PUTFILE() dialog. How do I "connect" the PUTFILE() dialog's invocation for Help to my application custom Help file "Save As" help topic?
>>>
>>>Thanks,
>>>Bill
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform