Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows 7 Compile Issue with treeview

Status
Not open for further replies.

ATaylor01

Programmer
Dec 1, 2011
5
US
Hello

I'm working on a project that uses protoviews dataexplorer 8. I recently upgraded my dev machine to windows 7 64bit and when compiling the project, now only vista/7 machines can see images in the treeview. Any xp machine/server2003 machines can no longer see the images.

Any ideas?
 
Foxpro always runs in 32bit and so it shouldn't be an OS issue. Don't know what else could be the problem. Do your users get messages about OLE control/class missing? Does that OCX treeview not include the pics into compilation, perhaps?

Bye, Olaf.
 
Olaf,

If i 'OPEN' the form with the control on it, it 'removes' the icons from tree view propertys on any windows xp/server 2003 machines. I can see the images on any vista/7 machine in developement or production. This protoview control seems to be using another imagelist control of some sort that microsoft has updated in windows 7/vista. I checked mscomctl32 and comctl32 files. they are different but moving the 7/vista dlls to the xp machine doesn't fix this issue.
 
The image files are included in the exe yes. This has never been a problem for years until i opened the form in the windows 7 machine.

Whats odd is any Vista/win 7 machine CAN see the images when compiled on either xp/7 developer machine.

Any xp machine cannot see the images when compiled on win7 machine.

xp/vista/7 machine will see the images when compiled with xp.
 
Well, you rather should move the XP Version of Imagelist control to your development machine and use that to make it work in XP, too.

Vista and Win7 are downward compatible, but not vice versa.

Bye, Olaf.
 
Somehow.... I've managed to fix the issue.

I uninstalled/re-installed protoview numerous times.. Then copied the protoview files from a xp dev machine and manually registered the files on my win 7 machine. Recompiled and appears to be working.. Not sure what could have gone wrong with the install or what was going on.

Just glad it works.

 
Okay, i lied.. It worked for one compile.. Now back to the same problem...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top