Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Intellisense - Constant
Message
 
 
To
29/09/2001 21:42:11
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00562303
Message ID:
00562388
Views:
23
>Hi,
> How to use ActiveX control constant in application? For example:
>
>myobj = CREATEOBJ("InetCtls.Inet.1")
>myobj.Protocol = icFTP
>
>VFP return error variable icFTP is not found!
>How could I make use of constant instead of knowing the actual value of the constant?
>
>Thank you

To help along the lines that Sergey showed you, with VFP 7 you can open the type library for the OCX (if it exists) using the Object Browser and drag the constants into your include file/program/form. The #DEFINEs will automatically be created for you.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform