Solved

Calendar Control Deployment

Posted on 2004-03-22
6
858 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
  • 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now