Solved

Problime loading .log files in VB6.

Posted on 2013-01-11
6
1,796 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 143

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 200 total points
ID: 38768680
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
ID: 38768997
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
ID: 38769108
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
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 
LVL 16

Accepted Solution

by:
HooKooDooKu earned 300 total points
ID: 38769416
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
ID: 38784663
Hello HooKooDooKu,
           I will try to do this tonight.

Thank you
0
 

Author Closing Comment

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

Thank you
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Help with error when uploading excel file 3 36
Import Data from Multiple Text Files in Excel 12 58
export data table to excel in vb.net 10 36
Name Space error VS2015 1 22
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

839 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