Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to call a Visual Basic DLL?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00409701
Message ID:
00410195
Views:
28
>>>Thanks for your time. It's obvious I need
>>>to do some more research into COM and convince
>>>the VB programmers to rewrite their "lookup"
>>>forms as COM objects so that I can use them
>>>in VFP and that they should "call" the COM
>>>objects in their VB applications.

Exactly. But, this might not require too much of a rewrite -- just remember, as long as you can fill in the information (properties), call the right code (sub), and get the right info back (return value or property), you will be okay. Depending on the complexity, it may be as simple as moving the existing lookup code into a VB class module, and binding their lookup form controls to public properties (which you could also fill in from outside the COM component). Remember, it doesn't have to be perfect to be useable -- this approach isn't really so complicated.

Good luck.
The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts. - Bertrand Russell
Previous
Reply
Map
View

Click here to load this message in the networking platform