My users change workstations freqently. Sometimes, visitors just connect
notebook computer for a 2 minutes to use my vfp application.
Those computers will never be connected again.
It is not practical to run install and uninstall program in every such case.
So I have all files (including vfp runtime) in network server so no installation is required. I install required OLE objects dynamically in form load event.
This works OK, except for HTML help.
I currenty use shellexecute() API call to display .chm file without installing help.
Unfortunately, I need to provide context sensitive help. It seems that it is not possible to pass a topic name to chm help using command-line automation.
For this reason, I need to dedect and install html help control dynamically if user presses F1 key.
How to check for HTML help runtime installation from VFP ?
>Wouldn't be simplier to include html help files into your application setup?
>
>>If my user presses F1 key, I need to dedect for html help control:
>>
>>1. are the required files present in hard disk
>>2. is the control registered in registry.
>>
>>I think that the best way is to use the code:
>>
>>
>>on error lError = .t.
>>ob = createobject( ??? )
>>on error
>>if type('ob')#'O'
>> .. register it
>> endif
>>
>>
>>
>>Which class name need to be passed to createobject() for this check
>>or is there a better way to dedect the installation on html help control ?
Andrus