Solved

Calendar Control Deployment

Posted on 2004-03-22
6
900 Views
Last Modified: 2007-12-19
Hello experts.  I think this may be an easy one for you.  Currently I'm designing an application for deployment and I'm using the Office developer currently, but I'll start to use the Wise or InstallShield in the near future.  Lately I've ready with some consistancy that the ActiveX controls are very poor for deployment to other computers using the Run-time.  My question is actually three parts:
A) Can the Active X Calendar control (version 10 I think) be deployed with Access Runtime through the XP Off Dev software.  Currently, the package that I have works pretty well (Deployed) except this feature which is crashing the app when I click on my booking calendar (with the calendar control embedded).  If it can be fixed, what might I be doing wrong and how can I fix it?
B)  If this particular control just stinks with deployment, are there any better solutions/add-ins that can be included in my deployment that would be easier?  
C) Would the installshield/wise packaging wizard fix this problem or will it have the same issues?

Thanks for your help in advance!!
0
Comment
Question by:Marc333
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 13

Expert Comment

by:lucas911
ID: 10650510
Well i can help you on your first part.  In order to make the calendar control work you have to register the OCX or the DLL using the regsvr32 command.  The calendar control that i used in my app was crashing on some of the computers, once i registered the OCX it worked fine.

The command to register the OCX i used was:  (Win 2000)

regsvr32 c:\winnt\system32\mscal.ocx

Maybe you can get the install to register the MS Calendar control when you install your app.  Just provide the OCX file with your installation and get it to copy it to the system directory and register it.



0
 
LVL 3

Author Comment

by:Marc333
ID: 10651143
Lucas,
Let me confirm.  So you registered the mscal.ocx on your computer that created the deployment package.  After that, it included the necessary file/s when making the setup files?

0
 
LVL 3

Author Comment

by:Marc333
ID: 10651204
Lucas,
Also, I'm getting some error comments.  Mainly:
LoadLibrary("c:\Program") failed - The Specified module could not be found.  


Any suggestions? The actual location of the file is:
C:\Program Files\Microsoft Office\Office10\mscal.ocx
0
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 
LVL 13

Accepted Solution

by:
lucas911 earned 250 total points
ID: 10652757
I'm not sure about the deployment part.  But yeah it would make senese for the deployment package to automatically register an OCX when you install it, but don't quote me on that one.  

In order for it to work properly the OCX needs to be inside the WINNT\System32 folder, then you run regsvr32 to register the OCX with the line that i provided you earlier, open up your app make sure that the calendar function works, finally rebuild the package, and then install your package on a different computer to see if the calendar registers itself.

In Visual Basic, the deployment wizard lets you pick if you want to attach any additional files (for example MSCALC.OCX) to your package, then when i run my install program it takes care of the Active X component itself.

What i'm trying to say is that make sure that MSCAL.OCX is in your Winnt\System32 directory, register the OCX using regsver, repack your package, and test it out on a different computer.

Hope it all works out for you.
0
 
LVL 3

Author Comment

by:Marc333
ID: 10653644
Great, I'll check it tonight and let you know if I have any questions tomorrow morning.  
0
 
LVL 3

Author Comment

by:Marc333
ID: 10670367
Lucas,
I still haven't been able to test the Regsrv but I'd like to go ahead and distribute points anyways.  If I have any more questions, I'll let you know.  Thanks for your help.

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question