Solved

VB 6 Calendar not showing

Posted on 2011-03-03
9
1,261 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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

743 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

13 Experts available now in Live!

Get 1:1 Help Now