How do you register the calendar control in an Access 2003 .mde file using the runtime module?

I guess the question in the title explains exactly what I need answered.  If any additional information is needed please let me know and if someone could give me step by step instructions I would greatly appreciate it.

Thanks   Gary
garymcgowanAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jeffrey CoachmanMIS LiasonCommented:
Gary,

I don't know if this will help, but a lot of users don't use the calendar control for that reason.

It's an Active-x control.

Instead, most users utilize the "mini-calendar":
http://www.mvps.org/access/forms/frm0050.htm

Works almost exactly the same except it is all done with forms and code. You don't have to worry about registering it, or version incompatablities.

Good luck
0
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
I'm assuming this is a distributed application ... in which case you would need to distribute the mscal.ocx file along with your database, and install and register that file on the enduser machine. Typically your installer would to do this, but you could create a batch file that does this it, something like:

@echo off
regsvr32 <whatever_your_path_is>\mscal.ocx

Then have your user run this batch file from the command line (i.e. STart - Run - cmd, then navigate to the directory hosting your batch file and type the name of the batch file, like "C:\Program File\MyDatabase\RegCal.bat" or whatever). Be very careful doing this ... this can break existing applications that also depend on a particular version of the calendar control (i.e. the version incompatibilites boag2000 referred to).

Distirbuting the calendar control is fraught with troubles and most developers avoid it like the plague, and instead use the advice give by boag2000 and use a 3rd party control ...
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
garymcgowanAuthor Commented:
Thanks to both of you.  I wanted give LSMConsulting 350 pts and boag2000 150 pts but it didn't work out that way.  boag2000 I will make it up to you in another question.  Sorry.

Gary
0
Jeffrey CoachmanMIS LiasonCommented:
garymcgowan,

No sweat.

LSMConsulting has actually "Answered" you question.

My post was just a suggestion.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.