Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is Word/Excel installed
Message
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00566415
Message ID:
00566780
Views:
30
< 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--
Previous
Reply
Map
View

Click here to load this message in the networking platform