|
|
Question : ActiveX Controls Are Gone
|
|
We added a tree control to one of our databases. It worked great. We tried to use that control on a different computer and Access gave us the following error: "There is no object in this control."
We found a help file that instructed us to copy the following files from the computer that was working and the computer with the problem: comctl32.ocx, comctl32.dep, comcat.dll. Then register the new comclt32.ocx.
We did this and it solved the problem. The control now works great. It unfortunately created another problem. When we tried to use the ActiveX control list on the computer that had the other problem, tne ActiveX control list is blank. We did a find file and all of the ocx files are in the System directory. We tried to add them in one at a time from access. Access makes it look like it is trying to add them to the list but the list stays blank.
Do you know of a way to get our ActiveX control list back without reinstalling Windows 95 (which has been the only suggestion we have been able to find)? We have already tried uninstalling and reinstalling Office 97.
|
Answer : ActiveX Controls Are Gone
|
|
Hi CSCDB,
This is a known problem MS recognize.
MS apps allow you to insert some ActiveX controls in documents. Some of them can't be inserted - like some specific for VB. So, to display the correct list of available control for one application - like Access - MS uses COMCAT.DLL.
If you check the version of this DLL, you'll get v5 which is incorrect. It comes with IE. Replace it with the one from Office 97 (with SR), v4.71. The problem will be solved.
Reinstalling Office 97 won't solve pb : the installer does not replace new DLL with older... that's the main pb.
Btw, if you plan to create an install kit and distribute your dev, make sure you use OLD dll unless, you could break IE3 and create some other pb on PC that works fine now.
If you plan to deploy a solution using ODE, let me know, there are other issues about WININET and URLMON.
DS
============================================================ ------------------------------------------------------------ The information in this article applies to: - Microsoft Access 97 ------------------------------------------------------------ SYMPTOMS ======== Moderate: Requires basic macro, coding, and interoperability skills. Microsoft Access does not display all the ActiveX controls that you have installed on your computer in the Insert ActiveX Control dialog box on the Insert menu or in the ActiveX Controls dialog box on the Tools menu. CAUSE ===== Only those ActiveX controls that Microsoft Access supports appear in the ActiveX Controls and Insert ActiveX Controls dialog boxes. MORE INFORMATION ================ Microsoft Access 97, as an ActiveX control container, requires a control to support a base set of interfaces. To prevent insertion of controls that will not work in Microsoft Access, Microsoft Access uses COMCAT.DLL to filter controls from the list that require an interface that Microsoft Access does not support. For example, the Microsoft Data Bound List Controls in DBLIST32.OCX will not appear in the list of controls to register or insert because these controls require that the Visual Basic interfaces for advanced data binding be implemented by the control container, which Microsoft Access does not support. For more information about the ActiveX control interfaces Microsoft Access supports, please see the following article in the Microsoft Knowledge Base: ARTICLE-ID: Q164241 TITLE : ACC97: Custom ActiveX Control Features Supported in MS Access 97 REFERENCES ========== For more information about what ActiveX controls Microsoft Access supports, please see the following article in the Microsoft Knowledge Base: ARTICLE-ID: Q160126 TITLE : ACC97: Supported ActiveX Controls for Microsoft Access 97 Additional query words: ============================================================ Keywords : kbui Version : WINDOWS:97 Platform : WINDOWS Hardware : x86 Issue type : kbprb ============================================================ Copyright Microsoft Corporation 1998.
|
|
|
|
|