CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 1999
    Location
    Uruguay
    Posts
    3

    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.


  2. #2
    Join Date
    Apr 1999
    Location
    Toronto, ON
    Posts
    713

    Re: I disabled ActiveX support while creating an application with the visual C++ wizard

    Hi!
    Try thispasted 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.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured