Solved

VB 6 Calendar not showing

Posted on 2011-03-03
9
1,272 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
vb6 connector to SQL Server 2 42
Exit a vb6 apps when a calling it apps closes 15 57
Automatic Email Reminder 4 70
RUNRMTCMD from AS/400 12 86
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

740 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