Help and Support
 

powered byLive Search

You receive a "The ActiveX control '<The control inserted>' could not be instantiated" error message when you try to place an ActiveX (OLE) control on a dialog box template in Visual C++

Article ID:155059
Last Review:January 11, 2006
Revision:5.0
This article was previously published under Q155059

SYMPTOMS

On a machine with Visual C++ installed, when you try to place an ActiveX (OLE) control on a dialog box template, you see a message box stating:
The ActiveX control "<The control inserted>" could not be instantiated because it requires a design-time license.

Back to the top

CAUSE

There are two known causes for this message being displayed:
Installing Visual C++ with USER privileges causes this problem because it prevents the installation of Visual C++ from adding several entries in the Registry.
The registry is corrupted.
The controls that may display this problem include:
Anibutton
COMMON DIALOGS
Desaware Mist
Grid
ImageList
Key State
Lead Std
ListView
Microsoft Comm
Microsoft MAPI Message
Microsoft MAPI Session
Microsoft Masked Edit
Microsoft Multimedia
Microsoft Rich Textbox
MSDataCombo
MSDataList
Outline
PicClip
PICS Data Edit
Pinnacle-BPI Graph
ProgressBar
ProtoView Diagramming Control (IDO)
Sax Basic Engine Control - Foundation
Sheridan Tabbed Dialog
Slider
SpinButton
Stack
StatusBar
Stylus Visual Voice for TAPI
TabStrip
THREED CHECKBOX
THREED COMMAND BUTTON
THREED FRAME
THREED GROUP PUSH BUTTON
THREED OPTION BUTTON
THREED PANEL
Toolbar
TreeView
VideoPlay

Back to the top

RESOLUTION

To resolve this problem, reinstall Visual C++. If you are installing on a Windows NT or Windows 2000 computer, then you must be logged on as an administrator. If your registry has been corrupted, install all software that may have been affected, including the operating system if necessary.

Back to the top

REFERENCES

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
151804 (http://support.microsoft.com/kb/151804/) PRB: Dynamic creation of redistributable control fails

Back to the top


APPLIES TO
Microsoft Visual C++ 4.0 Standard Edition
Microsoft Visual C++ 4.1 Subscription
Microsoft Visual C++ 4.2 Enterprise Edition
Microsoft Visual C++ 5.0 Enterprise Edition
Microsoft Visual C++ 6.0 Enterprise Edition
Microsoft Visual C++ 4.2 Professional Edition
Microsoft Visual C++ 5.0 Professional Edition
Microsoft Visual C++ 6.0 Professional Edition
Microsoft Visual C++, 32-bit Learning Edition 6.0
Microsoft Visual C++ 2005 Express Edition
Microsoft Visual C++ .NET 2003 Standard Edition
Microsoft Visual C++ .NET 2002 Standard Edition

Back to the top

Keywords: 
kberrmsg kbtshoot kbcontainer kbsetup kblicensing kbprb kbdlg KB155059

Back to the top

Article Translations

 

Other Support Options

  • Need More Help?
    Contact a Support professional by E-mail, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.