[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

VB6 IMage List fails on a different computer

Posted on 2004-09-07
3
Medium Priority
?
445 Views
Last Modified: 2012-05-05
I have a project written in VB6 with SP6 applied to it, on a Win XP sp1 machine.

The project has multiple forms, many with their own toolbars and image lists.  If the form has a toolbar, there are 2 or more image lists on the form, 1 of the image lists is for the "greyed" out version of the icon and the other is for the enabled version and sometimes a third for the active version of the icon.

The image lists are "Image List ActiveX Control - Version 6.0 (sp6)" and the toolbars, if that matters, are "Toolbar ActiveX Control - Version 6.0 (sp6)"

On my development machine everything works just fine, I can compile, load into source safe, load out of source safe, recompile, etc.

A co-worker of mine has a box very similar to mine with VB6 (SP6) and XP (sp1).   This has been reformatted yesterday and that didnt help matters any.

When he does a check-out from source safe everything else works fine except that the image lists no longer contain any images.
He then loads the project into VB6 and attempts to open a form containing an image list and he gets a bunch of errors like these:
Line 105: Property DragIcon in tbKNOBBar had an invalid file reference.
Line 298: Property Picture in ListImage1 had an invalid file reference.
Line 302: Property Picture in ListImage2 had an invalid file reference.

There are a LOT of images loaded into the image lists and I dont want to have to go through each image list, compare with mine and then load the image in there etc.  I checked the mscomstl.ocx on my machine and he has the exact same version number (6.1.97.82) and date (Feb 2004)  of the same ocx on his machine and it is in the same location (c:\windows\system32\)

My question is:  What is causing this and how can I get his machine working so that he can compile the program without a problem?  In particular, I dont want to have to re-do all of the image lists because then I would have to go through a lot of pain, check in the new project and then check it out on my machine and hope that I dont get the same issues.

Basically, i need this to work :)

Thanks!
Rico

0
Comment
Question by:ve3dgr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
mladenovicz earned 2000 total points
ID: 11998133
Did you checked in *.frx file (the same filename as *frm file)?
0
 

Author Comment

by:ve3dgr
ID: 11998376
haha, I cant believe I forgot that one important step!

Thanks!
0
 
LVL 8

Expert Comment

by:mladenovicz
ID: 11998397
;)
You're welcomed
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
Suggested Courses

656 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