Activex problem - possible file or registry corruption?

J

John Smith

What is causing the following problem and how can I correct it? This is the
first time I've ever experienced something like this in 8 months of using
Access.

1) Create new db
2) New form -> Design view
3) Insert Activex Control -> choose Calendar Control 10.0

Access generates an error and closes.

Same thing happens when I am working with existing applications and try to
invoke mscal.ocx


The error log show records similar to the following:

USERENV(300.5ec) 08:29:38:036 RegisterGPNotification: CreateEvent failed
with 5
USERENV(300.5ec) 08:29:38:046 RegisterGPNotification: CreateEvent failed
with 5
USERENV(274.670) 08:33:28:748 RegisterGPNotification: CreateEvent failed
with 5
USERENV(274.670) 08:33:28:758 RegisterGPNotification: CreateEvent failed
with 5
USERENV(274.670) 08:33:28:768 RegisterGPNotification: CreateEvent failed
with 5
USERENV(398.1b8) 08:36:37:680 RegisterGPNotification: CreateEvent failed
with 5
USERENV(398.1b8) 08:36:37:690 RegisterGPNotification: CreateEvent failed
with 5
USERENV(398.1b8) 08:36:37:690 RegisterGPNotification: CreateEvent failed
with 5
USERENV(730.5e4) 08:47:21:075 RegisterGPNotification: CreateEvent failed
with 5
USERENV(730.5e4) 08:47:21:085 RegisterGPNotification: CreateEvent failed
with 5
USERENV(730.5e4) 08:47:21:095 RegisterGPNotification: CreateEvent failed
with 5


When browsing through the log file I noticed some events which occured
several days earlier:

USERENV(b4.94) 08:50:27:452 MyRegUnLoadKey: Hive unload for
S-1-5-21-1619138054-1435325815-989530775-1002 failed due to open registry
key. Windows will try unloading the registry hive once a second for the
next 60 seconds (max).
USERENV(b4.94) 08:51:27:839 MyRegUnLoadKey: Windows was not able to unload
the registry hive.
USERENV(b4.94) 08:51:27:839 MyRegUnLoadKey: Failed to unmount hive 5
USERENV(b4.94) 08:51:27:849 UnloadUserProfile: Didn't unload user profile
<err = 5>
USERENV(b4.94) 08:51:27:849 DumpOpenRegistryHandle: 2 user registry Handles
leaked from \Registry\User\S-1-5-21-1619138054-1435325815-989530775-1002

Do I have to re-install Office to fix this? or is there a less draconian way
to correct the problem?

TIA
 
J

Joan Wild

John said:
What is causing the following problem and how can I correct it? This
is the first time I've ever experienced something like this in 8
months of using Access.

1) Create new db
2) New form -> Design view
3) Insert Activex Control -> choose Calendar Control 10.0

Access generates an error and closes.

Many people avoid using ActiveX controls. Try Stephen Lebans calendar
control instead:
http://www.lebans.com/monthcalendar.htm
 
T

Tony Toews

John Smith said:
3) Insert Activex Control -> choose Calendar Control 10.0
Access generates an error and closes.
Same thing happens when I am working with existing applications and try to
invoke mscal.ocx

Peter likely has the immediate answer. Joan's answer is a better long
term solution. You can also download Access forms calendars.

See the Calendar Tips page at my website
http://www.granite.ab.ca/access/calendars.htm

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top