Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Shawn Ottinger
  Where is Shawn Ottinger?
 Greeneville TN
 Tennessee - United States
 Shawn Ottinger
 To: Eric den Doop
  Where is Eric den Doop?
 Houten
 Netherlands
 Eric den Doop
 Tags
Subject: RE: msacal70.ocx
Thread ID: 686 Message ID: 688 # Views: 1 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Monday, June 11, 2001 9:56:16 AM         
   


> > 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 8.0.0.5007.
>
> 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
> ELSE
> * Not OK
> ENDIF
>
> * Unregister
> DECLARE LONG DllUnRegisterServer IN msacal70.ocx
> IF DllUnRegisterServer() = 0
> * OK
> ELSE
> * Not OK
> ENDIF
>
> --
> Eric den Doop
> www.foxite.com - 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?


ENTIRE THREAD

msacal70.ocx Posted by Shawn Ottinger @ 6/11/2001 8:43:42 AM
RE: msacal70.ocx Posted by Eric den Doop @ 6/11/2001 9:25:11 AM
RE: msacal70.ocx Posted by Shawn Ottinger @ 6/11/2001 9:56:16 AM
RE: msacal70.ocx Posted by Eric den Doop @ 6/11/2001 10:11:02 AM
RE: msacal70.ocx Posted by Shawn Ottinger @ 6/11/2001 10:52:19 AM
RE: msacal70.ocx Posted by Eric den Doop @ 6/11/2001 12:02:11 PM
RE: msacal70.ocx Posted by Shawn Ottinger @ 6/11/2001 1:49:19 PM