Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with Data types
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Help with Data types
Miscellaneous
Thread ID:
00236453
Message ID:
00236453
Views:
61
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
Next
Reply
Map
View

Click here to load this message in the networking platform