Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Common Dialog Control
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00495437
Message ID:
00495502
Views:
18
>>>>How do you programmatically instanciate the common dialog control?
>>>>CREATOBJECT("CommonDialog") doesn't work. Thanks
>>>
>>>John,
>>>
>>>Let me save you a ton of trouble. Don't try to do this! The reason is that it won't work at run-time. You'll get an error. It's best to drop the control on a form, and either use the property sheet or programmatically set the properties.
>>>
>>>For details on the error, see MS KB article Q192693 "BUG: License Error with ActiveX Control Added at Run-Time".
>>
>>Gee, I knew there must be some reason I had never done this programmatically. < g >
>
>I wish I could say the same.:-( Unfortunately, from a design standpoint, I think it's exactly what you should do. Maybe this bug is fixed in VFP 7.0. Unfortunately, it's a bit hard for me to try. All of my boxes have VFP installed, so it's tough to test. Maybe Mike can tell us if this has changed.

Since I can't run an .EXE runtime only version with Beta 1, I can't tell either.

But I just tried it in VFP6 and it worked just fine as an .EXE. Is that because I've already got a full VFP6 installed?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform