ACC97: ODE ActiveX Controls Will Not Change into Images

ID: Q163437


The information in this article applies to:


SYMPTOMS

Moderate: Requires basic macro, coding, and interoperability skills.

When you try to change an ActiveX control to an image in Microsoft Access 97, you may receive the following error message:

The operation on the <ActiveX Control> object failed. The OLE server may not be registered. To register the OLE server, reinstall it.

Trying to convert the CommonDialog ActiveX control to an image displays a different error message:
Microsoft Access can't read the CommonDialog object because communication was interrupted.


CAUSE

The ActiveX controls installed by Microsoft Access 97 or Microsoft Office Developer Edition 97 do not support converting to an image.


STATUS

This behavior is by design.


MORE INFORMATION

Steps to Reproduce Behavior


  1. Open the sample database Northwind.mdb.


  2. Create a new form not based on any table or query in Design view.


  3. On the Insert menu, click ActiveX Control.


  4. In the Insert ActiveX Control dialog box, select Calendar Control 8.0, and then click OK.


  5. Using the right mouse button, click the Calendar control, point to Change To on the shortcut menu, and then click Image.


  6. Click Yes when prompted if you want to continue. Note that you receive the error message mentioned in the "Symptoms" section.



REFERENCES

For more information about using ActiveX controls in Microsoft Access, search the Help Index for "ActiveX controls."

Additional query words: ole custom


Keywords          : kberrmsg 
Version           : 97
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: April 23, 1999