{{tag>category:"OpenInsight 32-Bit" author:"John Bouley" author:"Jim Vaughan" author:"dsig_at_sigafoos.org" author:"Karen Oland" author:"[url=http://www.sprezzatura.com]The Sprezzatura Group[/url]"}}
[[https://www.revelation.com/the-works|Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community]]
==== MSCAL.Calendar.7 does not work at Customer (OpenInsight 32-Bit) ====
=== At 07 DEC 2004 03:48:29PM John Bouley wrote: ===
I created a date selection routine that uses the MSCAL.Calendar.7 OLE Control. However, it brings up Internet Explorer with a page can not be found error at the customer. I have searched their registry and there is no reference to MSCAL.Calendar anywhere.
I was under the impression that this came as part of the OS? They are on XP SP2.
Any ideas, can this control be distributed?
Thanks,
John Bouley
----
=== At 07 DEC 2004 04:14PM Jim Vaughan wrote: ===
From Microsoft KB:
Although the Calendar control is included with Office XP Professional with FrontPage, Office XP Professional, and the stand-alone version of Access 2002, you cannot redistribute the Calendar control (MSCal.ocx) in a custom application unless you have purchased a copy of Office XP Developer Edition.
If you do not own a licensed copy of Office XP Developer Edition, but you plan to distribute your application to users who own either Office XP Professional with FrontPage, Office XP Professional, or the stand-alone version of Access 2002, your application will work properly if the users have installed the Calendar control.
----
=== At 07 DEC 2004 04:19PM John Bouley wrote: ===
I guess it pays to ask first before using an example...
Good news! I do own Office XP Developer. So that means I can distribute the control. Can I just include this in the Oinsight folder at the customer with a Regsvr32 mscal.ocx?
Thanks,
John
----
=== At 08 DEC 2004 03:07AM dsig_at_sigafoos.org wrote: ===
John,
have you tried the POPUP_MONTH and POPUP_YEAR 'controls' that are part of OI? If yes and you don't like them .. what don't you like?
If you want a 3UP Calendar control drop me an email off line
dsig_at_sigafoos.org
[url=http://www.sigafoos.org/samweb]DSigs Radio Free Oregon[/url]
Phone: 971-570-2005
----
=== At 08 DEC 2004 12:16PM John Bouley wrote: ===
Hey thanks! I wasn't aware it existed. It looks like this will work.
Thanks again.
----
=== At 03 JAN 2005 06:46PM Karen Oland wrote: ===
Is there a way to get the start/end years to change in the popup_month script? I keep getting an error that either GETBINARYVALUE isn't dimensioned (7.0) or "SYS1224: The procedure cannot be overwritten" (7.1)
The default date range is too restrictive for my use.
----
=== At 04 JAN 2005 04:15AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote: ===
Karen,
To remove the 'error' you see in 7.1 you need to remove or alter (just put a ";" in front of it) the POPUP_YEAR entry from the SYSPROCNAMES record in your SYSENV table. This record lists all the routines that the compiler considers to be system routines which should not be allowed to be overwritten. You will have to restart OI after the changes as this record is cached ...
Bear in mind that POPUP_YEAR *is* a system routine and RevSoft might well overwrite any changes you make to it in a future upgrade, as well as replace the SYSPROCNAMES record, so this is something to watch out for.
Perhaps a better option would be to take a copy and rename before compiling, so that you know that it will never be overwritten?
[url=http://www.sprezzatura.com]The Sprezzatura Group[/url]
[i]World Leaders in all things RevSoft[/i]
[img]http://www.sprezzatura.com/zz.gif[/img]
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=WORKS_READ&SUMMARY=1&KEY=DBC99079266F10E085256F6300724D7F|View this thread on the Works forum...]]