Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with Data types
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00236453
Message ID:
00242949
Views:
31
Did you ever manage to solve this?

>I was wondering if anyone has a way to force Fox to strict data types? I have an ActiveX control that requires that a short integer (16bit according to Fox's DECLARE - DLL help command) and a long integer (32bit, ibid.) Does anyone know how to create such a data component.
>
>Here is what I have tried:
> 1. Just using values:
>
> shtVal = 0
> lngVal = 0
> = thisform.oControl.method(shtVal, lngVal)
>
> 2. Setting charcter strings to the values
> shtVal = CHR(0) + CHR(0)
> lngVal = CHR(0) + CHR(0) + CHR(0) + CHR(0)
> = thisform.oControl.method(shtVal, lngVal)
>
>Any ideas?
>
>Thanks for all your help.
>Ben Keene
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform