Solved

VB 6 Calendar not showing

Posted on 2011-03-03
9
1,269 Views
Last Modified: 2012-05-11
Hello Experts,

In my application I have the ability to select a date range. On My PC with Vb this works fine, but after I compile and test on another PC the calendar doesn't show correctly. See attached image. I am using MSCAL.ocx. this file is in the sytem32 folder of the Test PC.

Any ideas?


mscal.png
calendar.png
0
Comment
Question by:triphen
  • 5
  • 4
9 Comments
 
LVL 14

Expert Comment

by:VBClassicGuy
ID: 35028239
Have you installed Service Pack 6 for your VB6? I ask because my calendar control, which works equally well with XP or Win7, is version 10. Yours is version 8. Try updating to SP6, or at least get the latest available MSCAL.OCX. Calendar Control
0
 

Author Comment

by:triphen
ID: 35028303
Thanx for your quick response.

Attached is the version I am using. Is it the same as yours?

can you send me your MSCAL.ocx?
vb6sersion.png
0
 
LVL 14

Expert Comment

by:VBClassicGuy
ID: 35028565
No, mine is much more recent. MSCAL.OCX may have dependencies contained within the SP6 service pack. Why not just go to Microsoft's web site and download/install SP6?
Image1.jpg
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:triphen
ID: 35028611
I did download and isntall but something seems to be wrong. The version didnt update? Ill try again. Thanx!
0
 

Author Comment

by:triphen
ID: 35028700
Damned thing wont work. When I execute the SP.exe a windows appears for a split second and disappears. That's it. Nothing is updated in VB. Maybe because of Win 7? I even tried Run as Administrator.
0
 
LVL 14

Expert Comment

by:VBClassicGuy
ID: 35028830
I'm sure it's Win7 that's preventing the install. Win7 is very picky about writing stuff to the Program Files folder, under which VB6 is located. Here is a link that tells how to install VB6 on Win7. Do all the stuff it says, but run the service pack update instead of installing VB6:

http://www.fortypoundhead.com/showcontent.asp?artid=20502
0
 
LVL 14

Expert Comment

by:VBClassicGuy
ID: 35028929
Also, in the link I posted, scroll down through the user comments. Some of them describe other people's experience with installing SP6 on Win7...
0
 

Author Comment

by:triphen
ID: 35038896
Ok I found another link to SP6 that was 26MB vs 2MB. That one worked :)

I am on the same build as you are. But my Calendar is still v8. Can you send me your MSCAL.ocx?
0
 
LVL 14

Accepted Solution

by:
VBClassicGuy earned 500 total points
ID: 35039064
I have been a little reluctant to send you proprietary software (even if it's only an OCX), but after Googling it and finding it everywhere, I guess it's OK. It is attached.

Note that I had to change the file extension to .txt for transfer. When you unzip it, change it back to .ocx, place in Windows\System32, then use RegSvr32 to register it.
MsCallOcx.ZIP
0

Featured Post

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Access 2016 VB code 9 115
Visual Basic Excel Formatting error 4 107
vb6 connector to SQL Server 2 37
MS Date Picker 64 bit 32 bit issue 12 55
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question