>Hello all
>
>I have a calendar control which i have placed on a form, the whole applications work fine but some users get ole dipatch error with the calendar control.
>
>i created a batch file with
>regsvr32 msacal70.ocx
>
>and this file is also there in c:\winnt\system32
>
>i rebooted but again the same problem appears. what could be wrong ?
>
>appart from the .exe the users have v.foxpro 5.0 installed in their machines.
>
>txs
In addition to what others say, try to unregister it
regsvr32 msacal70.ocx /u
and then re-register it specifying the full path to the control:
regsvr32 c:\winnt\system32\msacal70.ocx
That helped me in many cases.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison