I disabled ActiveX support while creating an application with the visual C++ wizard
I disabled ActiveX support while creating an application with the visual C++ wizard by mistake and now i can't insert ActiveX controls.
Does anyone knows how could i enable activeX support?
Thanks a lot.
Re: I disabled ActiveX support while creating an application with the visual C++ wizard
Hi!
Try this:(pasted from MSDN)
AfxEnableControlContainer
void AfxEnableControlContainer( );
Remarks
Call this function in your application object's InitInstance function to enable support for containment of OLE controls.
For more information about OLE controls (now called ActiveX controls), seeActiveX Control Topics in the Visual C++ Programmer's Guide.