Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Visual Basic and VFP
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00873709
Message ID:
00876577
Views:
6
OK, I decided to write a wrapper in VB for the ActiveX. Got the basic simple test to work. Now the problem is I have no clue how to pass things back and forth between VB and VFP. None of my VB or VFP books seem to address the problem, and my web searches come up futile.

I figured I can pass a VFP string to VB, by doing
aString="abc"+chr(0) and using *aString and if the VB program changes the string, I get the changed value back in VFP.

But how come I don't have to remove the chr(0) on return. What if VB returns a bigger string, will that cause it write over other data?

Ideally I need to pass VB an array of strings, and get values returned in corresponding arrays, the returned values could be different data types, string, integer, float, etc.

There must be some nice little set of FAQS to cover all this.
Previous
Reply
Map
View

Click here to load this message in the networking platform