Solved

Problime loading .log files in VB6.

Posted on 2013-01-11
6
1,662 Views
Last Modified: 2013-02-06
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
0
Comment
Question by:iscivanomar
  • 4
6 Comments
 
LVL 142

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 200 total points
Comment Utility
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
 

Author Comment

by:iscivanomar
Comment Utility
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
 

Author Comment

by:iscivanomar
Comment Utility
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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 16

Accepted Solution

by:
HooKooDooKu earned 300 total points
Comment Utility
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
 

Author Comment

by:iscivanomar
Comment Utility
Hello HooKooDooKu,
           I will try to do this tonight.

Thank you
0
 

Author Closing Comment

by:iscivanomar
Comment Utility
I try all what you told me. However, I ended up using other PC and it worked.

Thank you
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

728 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

12 Experts available now in Live!

Get 1:1 Help Now