Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Registering ActiveX Controls

Status
Not open for further replies.

LarryDeLaruelle

Technical User
May 19, 2000
1,055
US
I am trying to register ActiveX controls but can't seem to make it work.

I select from Tools, ActiveX Controls.

I click on Register and, from the Add ActiveX Controls dialog, select the control I want to register (MSCAL.OCX) and click on open.

The Add ActiveX Controls dialog closes but nothing shows up.

I downloaded Microsoft's ActiveX sample database and when I open the calendar example, the Calendar works (OLE Class property: Calendar; Class property: MSCAL.Calendar.7). So the control is installed.

Any idea why I can't register them for use?
Larry De Laruelle
larry1de@yahoo.com

 
After registering the control it is available in the "More Controls" button of the toolbox (the one with the hammer and the spanner).
When "Unregistered" it is removed from this list and the control won't work in your existing applications.
 
It also needs to be referenced if you want it to work. We have a lot of problems with people screwing up Access & removing the references, thus screwing up the ActiveX components within our DB's James Goodman
j.goodman00@btinternet.com
 
You only need to reference a control when it is registered with the regsvr32.exe program.
The ActiveX wizard under the tools menu in access does both.
 
Larry,

I'm having the same problem. Registering controls or referencing them will not work on a few machines. Did you ever solve the problem? I'm thinking it has something to do with system security.

Thanks.

gm
 
No, I never did. Our IT techs here think it is something funky in the registry but I haven't been able to fix it yet.


The only control I was really interested in at the time was the calendar control. I worked around it by creating a small db at home and setting up the control on a form. When I brought it to the office I imported the form into the apps where I wanted to use it.

Not an elegant solution, but it worked.
Larry De Laruelle
larry1de@yahoo.com

 
i have the same issue. Don't understand all this but have hacked around trying to figure it out. some machines it works fine, others do not. for those that do not i physically go to the machine and do the whole Referencing thing. lame but it works. i'm just glad so far all my users are near me......
 
I had exactly the same problem regarding being unable to register any ActiveX controls in Access 97.
Actually they just disappeared, and I couldn't bring them back...
I found an explanation and the solution at this link:


I then downloaded the executable from this following link and ran it, which resolved the problem described in the site above.


After doing this, all my controls came back!
I recommend looking into this...
 
Nevets:

Tried it but did not experience the same result as you.

Any other suggestions? Larry De Laruelle
ldelaruelle@familychildrenscenter.org

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top