Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data access in remote automation
Message
From
23/05/2003 14:24:37
 
 
To
23/05/2003 14:19:22
John Fitzgerald
Kenneths Hair Salons & Day Spas,Inc.
Columbus, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00792262
Message ID:
00792355
Views:
17
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform