Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connecting to VFP Com from Visual Basic
Message
From
27/09/2002 06:28:49
 
 
To
27/09/2002 05:58:00
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00705114
Message ID:
00705119
Views:
8
Hi!

The CreateObject() function in VB has additional second parameter that is optional. You can specify there a server name for runnign DCOM object.

Unfortunately, VB does not recognize CLASS UID as first parameter when object is not registered loaclly. For VB, DCOM object must be registered locally always, while in VFP you can CreateObjectEX("{123....}", "SomeServer") and object runs without registering at each local computer.

HTH.

>Hello,
>
>i've written a com object in Visual Foxpro and want to access it from eVB or VB. The problem is that i can't find a command similar to createobjectex() in VB. Any ideas?
>
>Regards,
>
>Michael Kugler
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform