VB6 installation on Windows 7 problems

Panos asked this question on 8/11/2013. It has been viewed 1840 times, and is currently unresolved.

I am very grateful for finding this site. After getting lost googling for ages, I found this site and it made sense. I am not a programmer, I am an amateur. I have written 2 programs in VB6. They worked fine on XP and therefore have not updated my vb 6 since I bought it and started learning to program about 14 years ago in fear less something stops working. Sooner or later I would have to move to Windows 7 so I am making the leap. Following the instructions in this site I installed VB6 onto Windows 7 64bit(I think) professional. On it I also have 32 bit(I am sure) Office 10 pro installed.
The simpler of my programs works fine and I am very grateful for that.
Today I tried to start the larger more complex program and encountered problems. This uses many controls and also handles an access database (2003) and also used to create files in excel 2003.
A I got the message that a dll could not be found. The log file of the offending form contained the phrase: "Class MSACAL.Calendar of control Calendar1 was not a loaded control class". To remedy this I searched the SysWoW64 folder on my Windows 7 computer and found that the MSCAL.ocx file was there. Then I went Start=>Command Prompt run as administrator and entered: "%systemroot%SysWoW64 egsvr32.exe mscal.ocx" and got a confirmation that it was registered. When I tried to load again I got exactly the same errors. I completed the load despite these and then deleted the offending controls and run the program.
B To my surprise I run into another error. Run time error 13 "type mismatch" to do with the function "CDate(varValue)" where varValue is a Variant, which works fine on XP.
So I have not resolved the first 2 errors I encountered and I fear how many more are on the way. Thus I am writing and would welcome any help.

Keywords: VB6 Windows7 dll "type mismatch

No one has attempted to answer this question yet. Why not give it a shot?

Click that answer button up there, and you can share your answer with the world, possibly making someone very happy.

Recent Forum Posts

Malicious IP Checker Companion Tool
dwirch posted on August 12, 2017 at about 20:24 in Site News

Job Spammer: Steve Adams
dwirch posted on August 8, 2017 at about 7:44 in Spammers

New security implemented
dwirch posted on August 8, 2017 at about 6:43 in Site News

New security implemented
dwirch posted on July 23, 2017 at about 6:58 in Site News

Fold Code Manager into main KB?
VB6Boy posted on July 22, 2017 at about 14:42 in Site News

Fold Code Manager into main KB?
dwirch posted on July 22, 2017 at about 14:41 in Site News