I have three pc's with my copy of vb6 installed. On each of them I get errors upon loading my projects. These projects have worked on other pc's. The errors are recorded in each module's .log file. For example, my frmMain.log file looks like this after the load errors:
Line 36: Class MSComctlLib.ImageList of control imlToolbarIcons was not a loaded control class.
Line 94: Class MSComctlLib.Toolbar of control tbrToolBar was not a loaded control class.
Line 159: Class MSComctlLib.StatusBar of control sbrStatus was not a loaded control class.
Line 617: Class MSCommLib.MSComm of control MSComm1 was not a loaded control class.
All of the errors in each of the frm*.log files appear to be related to either .ocx or .dll files. Any help would be appreciated.
Thanks to dglienna and DataMiser for their replies.
I have attached four of the log files (with .doc extensions).
The three pc's I installed with vb6 were all xp pro sp6 machines. Sorry I didn't mention that in my original post. I only mentioned that there were three as perhaps useful information. I'm only interested in getting one working. Thanks again for your help.
I've found that I have none of these on my system; msmask.dll, mscomctlLIB.ocx, mscommlib.ocx, mswinsocklib.dll and shdocvwch.dll. I assume this is the problem? Unfortunately, I have not been able to find any of these files online. Found similarly named files: msmask32, mscomctl, mswsock.dll and shdocvw.dll. Any ideas where I might find these. Thanks again.
I bought VB6 so long ago, I don't recall the circumstance, but I have a VB 6 Pro cd box with only the VB6 Learning Edition inside and that's what I have installed. I did find Visual Studio 6.0 but I don't believe that's the same as VB6?
Thanks dglienna, but DataMiser sent that link to me the other day. I read it and based on the fact that I evidently have Learning Edition installed and the information in the article you linked, I somehow need to either upgrade vb6 or find a source for the ocx and dll files necessary. However, vb6 is no longer available. I've read several articles about converting from vb6 to visual studio and found all of them negative. Any ideas would be appreciated. Thanks again.
Visual Studio 6 includes VB6 as well as VC 6 and a few other goodies.
I was unable to install VB6 from the VS6 CDs under Windows 7 though, there was/is some issue with the setup menu and java run time that prevented it from running under Windows 7. There is probably a way around it but for me I just used the Vb6 Enterprise CD image to install under Windows 7
Under XP the VS6 cds should work fine.
As for upgrading a project from VB6 to any of the VB.Net versions that is not recommended and the conversion utility is no longer included as of VB 2010.
VB6 is still available to download from Microsoft to MSDN subscribers and there may be a few copies out there in web land, e-bay maybe
Last edited by DataMiser; May 3rd, 2013 at 08:06 PM.
Yes DataMiser, I too had problems installing vb6 on Win 7. I'm using Virtual PC/ XP Mode on Win 7 and it installs okay. But as I have said, looking at all the information from you and dglienna, I think I need to either find all these .ocs and .dll files from another source or find a copy of Pro Edition. Thanks for your help.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.