Solved

VB 6 Calendar not showing

Posted on 2011-03-03
9
1,279 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
Technology Partners: 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…
Suggested Courses
Course of the Month6 days, 8 hours left to enroll

634 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