Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CREATEOBJECT('VisualFoxpro.Application')
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00388861
Message ID:
00389059
Views:
25
>>>Hi,
>>>I used the following code with VFP6 SP3 on W95/W98.
>>>I changed my OS for Windows 2000 and the CREATEOBJECT does not work.
>>> PUBLIC oInterConnect
>>> oInterConnect = GETOBJECT(, 'VisualFoxpro.Application')
>>> IF ISNULL(oInterConnect)
>>> oInterConnect = CREATEOBJECT('VisualFoxpro.Application')
>>> ENDIF
>>>
>>
>>What does it do?
>
>I'm sorry, after the CREATEOBJECT() oInterConnect is allways .NULL.

Sounds like a setup problem. Use the registry editor and try to locate the following key:

HKEY_CLASSES_ROOT\VisualFoxPro.Appplication.6\Shell

Beneath it, there should be information regarding the location of VFP. If it isn't there, you might have to re-install.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform