Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

monthview calendar control

Hi,
I'm using the monthview calendar control in my application. It works fine on win98/XP system based, but something does not go with win 2000pro OS. I've tried to install the MSCOMCT2.OCX file in system32 folder, but nothing is changed, the control does not appear on the screen when I run the executable.

Have someone founded the same trouble and the right patch?

Thanks a lot for your time,

have a good code.

Chyrus
0 Kudos
Message 1 of 7
(8,909 Views)
Chyrus,

could you just attach an example code that would allow us to try and reproduce the problem?

best Regards,

AlessioD
National Instruments
0 Kudos
Message 2 of 7
(8,909 Views)
Dear AlessioD,

in attachment you can find the VI "Calendario" with monthview control that does not works on windows 2000 pro OS.

Thanks a lot for your attention,

Chyrus
0 Kudos
Message 3 of 7
(8,909 Views)
Chyrus,
I was able to run the attachment successfully without making any changes to my system.
The thing you should check is if on your Win2000 machine you have the MicrosoftMonthView ActiveX object correctly registered. The MSCOMCT2.OCX is found in the C:\WINNT\SYSTEM32\ folder. Check if the file is there and then perform these 2 actions (omit quotation marks):

1)Start>>Run.. and type "regsvr32 c:\winnt\system32\mscomct2.ocx -u"

2)Start>>Run.. and type "regsvr32 c:\winnt\system32\mscomct2.ocx"

Hope this helps,

AlessioD
National Instruments
0 Kudos
Message 4 of 7
(8,909 Views)
Dear AlessioD,

I've followed with success your hint. Now the application works fine. I'd loaded the mscomct2.ocx dll, but I did not run it. Thanks a lot for solving my problem and for teaching me another useful thing.

Chyrus
0 Kudos
Message 5 of 7
(8,909 Views)
AlessioD:

I am running LabView 7 on Windows XP, and I do not have the mscomct2.ocx file in the system32 folder. Instead, I have mscomctl.ocx. (Is it similar?)
I can't view the MSMonthview Object control. I'd appreciate if you could share with me you knowledge about the subject matter.

Santiago
0 Kudos
Message 6 of 7
(8,909 Views)
Santiago,
there is no specific knowledge about these Microsoft ActiveX controls. Basically they are components that get installed by Windows or other Microsoft Products (they are signed Microsoft, the name starts with MS..). If you are looking for the MonthView ActiveX Control and information on where to find it and how to use it, the best source is the MSDN website, for example
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconusingmonthviewcontrol.asp

Regards,

AlessioD
National Instruments
0 Kudos
Message 7 of 7
(8,909 Views)