Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data access in remote automation
Message
De
23/05/2003 14:24:37
 
 
À
23/05/2003 14:19:22
John Fitzgerald
Kenneths Hair Salons & Day Spas,Inc.
Columbus, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00792262
Message ID:
00792355
Vues:
11
>Thanks for your reply Cetin,
>
>We're not using a data environent in the object's class procedure.
>This is what the procedures looks like.
>
> *a simple function will work on the remote computer, we're getting an answer
> Function Add(FirstNumber as Number, SecondNumber as Number) As Number
> Answer = FirstNumber + SecondNumber
> Return Answer
> Endfunc
>
> *trying to open a table from the remote computer doesn't work
> Procedure Open_Tables
> Set Exclusive off
> Select 0
> Use o:\kdg\data\cust.dbf Alias cust
> Endproc
>
>This works when running the COM object locally.
>
>Can you simply open a table using remote automation, or do you have to use a data enviroment??

Is O: mapped on the remote machine? That's what it's going to try to use to open the table.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform