< snip >
>>>
>>>This program expects the full version of VFP (with samples) to be installed on the machine, which checks for Word, right? It would not work with only run-time installation, would it?
>>
>>Sure it'll. Just include Registry FFC class (VFP 7) or registry.prg for earlier versions in your project. If you have your own registry class than you can rewrite code to use it.
>
>Thanks. Can we use HOME() function in applications, which we're distributing? Since I'm writing applications for internal use only, I didn't work with Installation programs...
You don't need HOME() in your application. If you've included those files in your project than just modify code as follow
IF VERSION() >= "Visual FoxPro 06"
oRegistry = NewObject("Registry", "Registry")
ELSE
SET PROCEDURE TO registry.prg ADDITIVE
oRegistry = CreateObject("Registry")
ENDIF
--sb--