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
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.