Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
NewObject()
Message
De
12/09/2002 14:49:30
 
 
À
12/09/2002 13:45:45
John Vlahos
V I Software Solutions Design
Mississauga, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Divers
Thread ID:
00699856
Message ID:
00699887
Vues:
23
>I create a class (Address) within a program file (AddressClass.prg) which is in my main VFP project under "Programs"
>
>I get an error from VFP when I create a new object with:
>
>oAddress=NEWOBJECT("AddressFunctions","addressclass.prg")
>
>"addressclass.prg not found"
>
>I also tried "SET PROCEDURE TO addressclass.prg" but resulted in the same error at the SET PROCEDURE statement.
>
>Im I forgetting something?

John,
Make sure the addressclass.prg file is located in default directory; otherwise you will have to "SET DEFAULT TO ..."

HTH
Alex
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform