Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pass BYTE type array to/from activeX control ?
Message
From
27/06/2001 08:59:48
 
 
To
27/06/2001 08:21:02
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00524045
Message ID:
00524065
Views:
16
Hi!

I afraid you cannot do this because VFP operates only with arrays of variant variables. However. array of bytes is similar to the VFP string - 1 character is 1 byte. And VFP string can contain any codes (bytes), just use chr(code). Try to assign a string to that property.

If have no success, than I would recommend to write a warpper ActiveX using Delphi or other language that allows use of the array of byte. Or just contact the ActiveX vendor, maybe they can make a special version for VFP...

HTH.

>I'm trying to use an active x control that uses properties pointing to an array of "Byte" type. Can anyone help me defining that array in VFP5 ?
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