Weird Problem
Weird Problem
Weird Problem
Weird Problem
Weird Problem
Weird Problem Weird Problem Weird Problem Weird Problem Weird Problem Weird Problem Weird Problem Weird Problem
Weird Problem Weird Problem
Weird Problem
Go Back  Xtreme Visual Basic Talk > > > Weird Problem


Reply
 
Thread Tools Display Modes
  #1  
Old 08-31-2014, 06:27 PM
unclebill unclebill is offline
Junior Contributor
 
Join Date: Apr 2003
Location: San Diego, CA
Posts: 308
Default Weird Problem


I have a program built and compiled under VB6 on a machine running Windows Xp Pro.

I am now using Windows 7 Home Premium 64 bit with Service Pack 1.

The compiled executable runs without an error.

However, when I try to open the project in VB6 Pro under Windows 7, I get this entry in the log file:

Line 99: Class MSComctlLib.ListView of control lvwSort was not a loaded control class.

I get similar errors referring to the StatusBar, ProgressBar and ListView controls.

What is causing the errors in loading into the VB6 Development environment?
Reply With Quote
  #2  
Old 09-04-2014, 05:34 AM
dilettante's Avatar
dilettanteWeird Problem dilettante is offline
Underclocked lifestyle

Forum Leader
* Guru *
 
Join Date: Feb 2005
Location: Michigan, USA
Posts: 4,524
Default

Microsoft pushed any number of "updates" to Windows 7 over the years that break binary compatibility. ADO can be a big headache, and some of the Common Controls OCXs can give you fits too.

I don't recall a simple fix offhand but some searches should turn up something. Sometimes it is as simple as a Project option set wrong in your Projects ("Upgrade ActiveX Controls" comes to mind).
Reply With Quote
  #3  
Old 09-04-2014, 11:21 PM
Cerian Knight's Avatar
Cerian KnightWeird Problem Cerian Knight is offline
Polymath (in disciplina)

Super Moderator
* Expert *
 
Join Date: May 2004
Location: Michigan
Posts: 4,193
Default

I've had similar issues years ago porting to XP from 2000, but don't recall the specifics. Three ideas stick in mind:
1. You failed to install SP6 (Service Pack 6) for VB6.
2. Your original project was still using VB5 control references.
3. Some other issue with path/library specifications in the .vbp file (which might or might not be related to #1 or #2).

Remove your name from within a copy of the vbp file and post it here, only if the above doesn't help.
__________________
I got all the answers wrong on the GLAT, apparently even #9 (where I put a period in the middle of the box and labeled it 'singularity ripe for rapid inflation').

Last edited by Cerian Knight; 09-05-2014 at 12:50 AM.
Reply With Quote
  #4  
Old 09-05-2014, 11:24 AM
dilettante's Avatar
dilettanteWeird Problem dilettante is offline
Underclocked lifestyle

Forum Leader
* Guru *
 
Join Date: Feb 2005
Location: Michigan, USA
Posts: 4,524
Default

You might look here:

Fixing the Microsoft Windows Common Control Library (MSCOMCTL.OCX) Security Update


Microsoft's recent tendency to release these sorts of broken updates with nasty side effects are the other reason (along with the entire Windows 8.x.y.z fiasco) why I'm glad my users are migrating to Android as a client OS.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Weird Problem
Weird Problem
Weird Problem Weird Problem
Weird Problem
Weird Problem
Weird Problem Weird Problem Weird Problem Weird Problem Weird Problem Weird Problem Weird Problem
Weird Problem
Weird Problem
 
Weird Problem
Weird Problem
 
-->