Angel02
asked on
Error loading VB6 project
I have recently installed VB6 on a windows 7 machine. I had been using the VB6 projects on XP until now. When i try to open these projects on Windows 7 machine, none of the projects are loading. They throw errors like missing classes. Errors from the error log of one of the projects is
Line 61: Class MSComCtl2.DTPicker of control D1 was not a loaded control class.
Line 74: Class FPSpreadADO.fpSpread of control dg was not a loaded control class.
Am I missing any dll's?
Line 61: Class MSComCtl2.DTPicker of control D1 was not a loaded control class.
Line 74: Class FPSpreadADO.fpSpread of control dg was not a loaded control class.
Am I missing any dll's?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
regsvr32 is what I believe you were referring to in order to register the control Graham
Thanks Randy. Yes, indeed. I wasn't thinking straight there are two other typos in the sentence. I also want to underline your point about service packages, because the mscomctl2 library description is tagged (SP6).
"If it os on you system, try registering it with regedit."
should be corrected to:
"If it is on your system, try registering it with regsvr32"
"If it os on you system, try registering it with regedit."
should be corrected to:
"If it is on your system, try registering it with regsvr32"
ASKER
I cannot find MSComCtl2.ocx on my windows 7 machine.
@Randy Poole The SP link that you provided says system requirements as XP. Should I still install that?
@Randy Poole The SP link that you provided says system requirements as XP. Should I still install that?
ASKER
So I installed VB6 SP6 on the machine and saw MSComctl.ocx. I registered it and it got rid of the mscomctl related errors. As for fpspread, it looks like a third party software which I need to download/purchase. Thank you all.