Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CREATEOBJECT('VisualFoxpro.Application')
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00388861
Message ID:
00389059
Vues:
26
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform