From: Shawn Ottinger
Tennessee - United States
To: Eric den Doop
Eric den Doop
General VFP Topics
Monday, June 11, 2001 9:56:16 AM
This message was rated by:
> > I use this calendar in one of my foxpro applications. The problem is the date always stays at todays date. Selecting a new date does not change the variable attatched to it. If I unregister the .ocx and then register the .ocx it works just fine. However, there are a few computers that for some reason get changed back, so I have to go through the registration process again. Has anyone had this problem or found a solution for this? Thanks in Advance.
> That is weird. I've tried it on my pc and there was no need to unreg and re-reg the ocx. Note that my system does not have msacal70.ocx installed, but it is mscal.ocx. It's file version is 188.8.131.5207.
> If you want to unreg and re-register the ocx programmatically, you can try this code:
> * register file:
> DECLARE LONG DllRegisterServer IN msacal70.ocx
> IF DllRegisterServer() = 0
> * OK
> * Not OK
> * Unregister
> DECLARE LONG DllUnRegisterServer IN msacal70.ocx
> IF DllUnRegisterServer() = 0
> * OK
> * Not OK
> Eric den Doop
- The Home Of The Visual FoxPro Experts
I will admit it is odd. My computer has never had a problem with it.
I have Visual Studio 6.0
Another user that only has foxpro 6.0 had the problem.
The problem seem to re-occur on computers that only have my application installed and not foxpro.
Any Idea where the best place to place the code is?
I was going to create a menu option "Fix Calendar"
Maybe it would be better to do this when the application starts?
Posted by Shawn Ottinger @ 6/11/2001 8:43:42 AM
Posted by Eric den Doop @ 6/11/2001 9:25:11 AM
Posted by Shawn Ottinger @ 6/11/2001 9:56:16 AM
Posted by Eric den Doop @ 6/11/2001 10:11:02 AM
Posted by Shawn Ottinger @ 6/11/2001 10:52:19 AM
Posted by Eric den Doop @ 6/11/2001 12:02:11 PM
Posted by Shawn Ottinger @ 6/11/2001 1:49:19 PM