Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Calendar Control Deployment

Posted on 2004-03-22
6
Medium Priority
?
909 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 13

Accepted Solution

by:
lucas911 earned 1000 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

715 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