Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing COM method
Message
From
12/10/2001 12:23:59
 
 
To
12/10/2001 10:44:12
Rex Mahel
Realm Software, Llc
Ohio, United States
General information
Forum:
Visual Basic
Category:
COM, DCOM and OLE automation
Miscellaneous
Thread ID:
00567607
Message ID:
00567725
Views:
8
>I have a VFP COM server I need to access from an Access database. I have the COM server referenced in the Access database. What I need is the syntax to access the method and return a value to my Access application.
>
>TIA
>
>Rex

Same as with any other COM server:
Dim oServer As myServer.Class
Dim myResult As String
Set oServer = New myServer.Class
myResult = oServer.MyFunction()
HTH
Previous
Reply
Map
View

Click here to load this message in the networking platform