Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How about a little common dialog?
Message
From
21/08/2002 16:26:13
 
 
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
00691988
Message ID:
00692204
Views:
30
Thanks Cheang,

I have subclassed it by creating a class and specifying comdlg32 as the contained OLE. Now when I try to instanciate it I get "Object class is invalid for this container"

Sigh...

Glenn

>Glenn,
>
>Instead of CreateObject('mscomdlg.commondialog') at runtime, drop the control onto the form. If you need it to be a stand-alone object, sub-class the ActiveX, and CreateObject("YourSubClassObject") at runtime.
>
>HTH.
>
>
>
>
>>Does this mean that the following cannot be done on a runtime system:
>>
>>lo = create('mscomdlg.commondialog')
>>...
>>lo = ''
>>
>>
>>Glenn
>>>Check mskb #Q192693.
>>>
>>>>I am now having a problem when instanciating the object. I am getting:
>>>>
>>>>Ole error code: 0x80040112
>>>>Class is not licensed for use
>>>>
>>>>
>>>>Any ideas?
>>>>
>>>>Glenn
>>>>
>>>>
>>>>>Sure. :)
>>>>>
>>>>>>Thanks Sergey, I knew I could depend on your generous help.
>>>>>>
>>>>>>Glenn
>>>>>>>>I am having a problem with instanciating mscomdlg.commondialog on a new install of a VFP7 applicaiton. Does anyone know which merge module I need to include so t6hat I can fire up the system common dialog. BTW thgis install is on a new XP Pro
>>>>>>>>
>>>>>>>>Thanks
>>>>>>>>
>>>>>>>>Glenn
>>>>>>>
>>>>>>>It's comdlg32.msm.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform