Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
NEWOBJECT( ) and CREATEOBJECT( )
Message
 
À
04/03/1999 08:11:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00193960
Message ID:
00194081
Vues:
22
With NewObject, you can specify the path/filename of a VCX file in the second argument. So, you can do this:

oFoo = NewObject("fooclass","c:\temp\foo.vcx")

This obviates the need to do Set ClassLib. Now, you can explicitly determine which class definition to use.

>Hi,
> What is the differences between NEWOBJECT() and CREATEOBJECT()? As noticed in MSDN, NEWOBJECT() allow to createobject without opening it. What does it mean? If I use it to automate word.application, what is the different between both of the commands?
>
>Thank you
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform