Consulting

Results 1 to 3 of 3

Thread: Embed ActiveX Control for portability

  1. #1

    Embed ActiveX Control for portability

    Hi All

    My problem is:
    I'm creating an Excel application that uses Calendar Control (MSCAL.OCX) Test version works fine at home, but would not run in my office, because that PC doesn't have MSCAL.OCX installed. The application is intended for a nonprofit organization, which has a dozen computers in a network, and any of them should be capable of running my macros.

    Can I somehow embed/include/whatever MSCAL.OCX into the final .xls, so that my application would be portable, and work, no matter what the hosting PC's environment is? Or do I have to install and register MSCAL.OCX on every single PC?

    A second question. I make the application in Excel 2003. On the other hand, the tartget computers have a mix of versions 2000 and 2002 installed. If I have to install and register MSCAL.OCX on each computers, I'm almost sure it has to be the exact same file I used (version 11.0.6550.0), which is for Office 2003. Should I expect version conflicts with Office 2000 and 2002?

    Thanks for all help, hints and guidance

    Jimmy
    -------------------------------------------------
    The more details you give, the easier it is to understand your question. Don't save the effort, tell us twice rather than not at all. The amount of info you give strongly influences the quality of answer, and also how fast you get it.

  2. #2
    Moderator VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    Hi Jimmy,
    This is an ongoing problem with portability with the calendar control. Search the forums for solutions as it has been discussed extensivly. If your using the calendar control to add dates to a worksheet you might try this kb entry:
    http://vbaexpress.com/kb/getarticle.php?kb_id=543
    The advantage is that it is as portable as any userform.
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  3. #3
    Moderator VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    Jimmy,
    Here is one thread that deals with the problem.
    http://www.vbaexpress.com/forum/showthread.php?t=10914
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •