Problime loading .log files in VB6.

I am changing an application that was developed in VB6. When loading the project a get a few error such as "Error during load. Refer to "C:\Elettric80\file.log" for details.

Inside this "file.log" I have this text: "Line 67: Class MSComctlLib.ListView of control lvwSystemParameters was not a loaded control class."

There were problems while loading ieframe.dll but I corrected.

How can I fix this error?

Thank you
iscivanomarAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
HooKooDooKuConnect With a Mentor Commented:
One thing that can happen is that you have the correct ocx and dlls installed on the computer, but the old VBP file is attempting to reference and older version of the ocx or dll.

Should this be the case, the easiest way I have found to fix the problem is to create a new empty project.  Then add references to the needed ocx and dll files.  Save the project.  Then edit the new project in NotePad along side a copy of the project that is failing to load properly.  Compare the project lines where the ocx and dll is reference.  Manually copy the "good" references from the new file over the "old" references in the broken file.
0
 
Guy Hengel [angelIII / a3]Connect With a Mentor Billing EngineerCommented:
this usually means that some components are not installed on your computer.
here is a download possibility for the components download:
http://support.microsoft.com/kb/896559
0
 
iscivanomarAuthor Commented:
Hello AngelIII, I install this files but it did not work. I am trying to add the mscomctl.ocx but I am getting a message saying that it conflicts with other ocx.

This are the error that I am getting:
Line 179: Class MSComctlLib.ListView of control lsvAllarmList was not a loaded control class.
Line 200: Class MSComctlLib.ImageList of control ImageList1 was not a loaded control class.


Should I remove all the references and than add them again.?

thank you
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
iscivanomarAuthor Commented:
Is there a way to know what .dll are register to see which one is causing conflict.

This library is the one that I need.
\WINDOWS\system32\MSCOMCTL.OCX#Microsoft

Thank you
0
 
iscivanomarAuthor Commented:
Hello HooKooDooKu,
           I will try to do this tonight.

Thank you
0
 
iscivanomarAuthor Commented:
I try all what you told me. However, I ended up using other PC and it worked.

Thank you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.