Solved

VB 6 Calendar not showing

Posted on 2011-03-03
9
1,265 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
 

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA loop through headers using value 3 56
MS Access Search and Replace Using VBA 6 57
VBA: Select SQL query based on a config Sheet v2 11 38
How to make an ADE file by code? 11 79
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

912 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now