Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Application Programming › Windows compatibility issues help
New Posts  All Forums:Forum Nav:

Windows compatibility issues help

post #1 of 11
Thread Starter 
https://www.dropbox.com/s/hg9dnuokx7vsjay/Calendars.zip
This is the program, it is an EXE program, so virus scanner will probably call it a virus, but i promise its not.

I have an elderly friend that made a program a while ago.

He used VB6 to make the program, and program works fine on his W7 PC with VB6.

He game program to his sister and it works on her XP machine, but not her W7 machine. So he asked me to look into it. Does not work on any of the 3 W7 machines but worked fine on a different XP machine.

So there for i run in compatibility mode, does not work. I tried changing property configurations and i can not get it work.

Can any of you help?

This is what the program looks like on a W7 PC.
As you can see, when you double click on a date to put info on that day, it opens in a text file. the text file and basically anything that is black is supposed to be white.
That is the issue.

Gaming/Video
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 760 @4.0Ghz ASUS P7P55D-E Pro ZOTAC GTX 580 Patriot Viper Xtreme 4GB DDR3 2000MHZ 
Hard DriveHard DriveHard DriveOptical Drive
ocz vertex 2 corsair Force Series 3 4 x WD Caviar Green WD15EARX  LG 8X/Blu-Ray Writer/16X DVD-Writer 
CoolingOSMonitorKeyboard
Corsair H50 Windows 7x64 Samsung 59" 3D Plasma 1080P MSMultimedia 1.1 
PowerCaseMouseMouse Pad
Consair HX-850W ANTEC 900 MS Wireless Moblie 3500 Couch 
  hide details  
Reply
Gaming/Video
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 760 @4.0Ghz ASUS P7P55D-E Pro ZOTAC GTX 580 Patriot Viper Xtreme 4GB DDR3 2000MHZ 
Hard DriveHard DriveHard DriveOptical Drive
ocz vertex 2 corsair Force Series 3 4 x WD Caviar Green WD15EARX  LG 8X/Blu-Ray Writer/16X DVD-Writer 
CoolingOSMonitorKeyboard
Corsair H50 Windows 7x64 Samsung 59" 3D Plasma 1080P MSMultimedia 1.1 
PowerCaseMouseMouse Pad
Consair HX-850W ANTEC 900 MS Wireless Moblie 3500 Couch 
  hide details  
Reply
post #2 of 11
My initial thought is it's something to do with the form repaint. I'd check the code around the repaint events and form properties to see if there's any non-default settings there causing conflicts.

The other thing I'd suggest is reinstalling the VB6 redistributable and any custom ActiveX objects the application uses.
post #3 of 11
The issue is that the developer has selected the wrong background color for the forms. People used to select "Active Title Bar Text" to get a white background, assuming that it would ALWAYS be white. This is the first "white" color in the drop down list, so lazy developers choose it. In Windows XP, the default theme "Luna" the color of this element is white (the active title bar text is white).

However, it is not just Windows Vista and later. If your friend changed their Windows XP theme to "Silver", the same issue would occur because the color becomes black rather than white, because in that theme the title bar text for the active window is actually black. In Windows Vista and Windows 7 and higher, the active title bar text is indeed also black. If you turn off the DWM in Windows Vista or Windows 7, the theme color for this element is actually blue.

This issue is just lazy developers and has nothing to do with VB6 compatibility on Windows Vista and later. They should be specifying white as a explicit hexadecimal value rather than picking some random Windows theme color and expecting it to always be the same. Microsoft don't have a compatibility shim for this behavior which is why compatibility mode does nothing. The two solutions are to either fix the application from the source (preferred) or you can manually change the color of the active title text (makes the rest Windows look horrible).

I've seen this one a million times and I'm 99% its the same here, in which case no need to go poking around paint handlers or re-installing things.
Ol' Sandy
(28 items)
 
"Zeus"
(12 items)
 
Elite Preview
(6 items)
 
CPUMotherboardGraphicsRAM
Intel Xeon E3-1230v3 Gigabyte GA-Z97X-UD5H-BK MSI Gaming GTX 980 Kingston 32GB (4x8) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Samsung EVO 1TB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 8 Pro 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2713HM Topre Realforce 87UB | Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Logitech G700 XTRAC Ripper XXL 
AudioAudioAudioAudio
Beyerdynamic DT-770 Pro 250ohm Schiit Bifrost DAC Schiit Asgard 2 HiVi Swan M50W 2.1 
CPUMotherboardRAMHard Drive
Intel Xeon E5-2620 Super Micro X9SRL-F-B 128GB 1333MHz LSI 9271-8i 
OSPowerCase
VMware ESXi 5.5 SeaSonic SS-400FL2 Fractal Define R3 
CPUMotherboardGraphicsRAM
Intel Core i5-3437U HP EliteBook Folio 9470m  Intel HD Graphics 4000  16GB DDR3 SDRAM 
Hard DriveOS
256GB SSD Windows 10 Insider Preview 
  hide details  
Reply
Ol' Sandy
(28 items)
 
"Zeus"
(12 items)
 
Elite Preview
(6 items)
 
CPUMotherboardGraphicsRAM
Intel Xeon E3-1230v3 Gigabyte GA-Z97X-UD5H-BK MSI Gaming GTX 980 Kingston 32GB (4x8) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Samsung EVO 1TB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 8 Pro 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2713HM Topre Realforce 87UB | Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Logitech G700 XTRAC Ripper XXL 
AudioAudioAudioAudio
Beyerdynamic DT-770 Pro 250ohm Schiit Bifrost DAC Schiit Asgard 2 HiVi Swan M50W 2.1 
CPUMotherboardRAMHard Drive
Intel Xeon E5-2620 Super Micro X9SRL-F-B 128GB 1333MHz LSI 9271-8i 
OSPowerCase
VMware ESXi 5.5 SeaSonic SS-400FL2 Fractal Define R3 
CPUMotherboardGraphicsRAM
Intel Core i5-3437U HP EliteBook Folio 9470m  Intel HD Graphics 4000  16GB DDR3 SDRAM 
Hard DriveOS
256GB SSD Windows 10 Insider Preview 
  hide details  
Reply
post #4 of 11
oh yeah, i forgot you could do that in VB6.

To be honest, that whole application looks a fine example of how not to design user interfaces. Custom widget colours should be banned.
post #5 of 11
Quote:
Originally Posted by Plan9 View Post

oh yeah, i forgot you could do that in VB6.

To be honest, that whole application looks a fine example of how not to design user interfaces. Custom widget colours should be banned.

Meh, I've seen worse VB6 applications lol.
Ol' Sandy
(28 items)
 
"Zeus"
(12 items)
 
Elite Preview
(6 items)
 
CPUMotherboardGraphicsRAM
Intel Xeon E3-1230v3 Gigabyte GA-Z97X-UD5H-BK MSI Gaming GTX 980 Kingston 32GB (4x8) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Samsung EVO 1TB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 8 Pro 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2713HM Topre Realforce 87UB | Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Logitech G700 XTRAC Ripper XXL 
AudioAudioAudioAudio
Beyerdynamic DT-770 Pro 250ohm Schiit Bifrost DAC Schiit Asgard 2 HiVi Swan M50W 2.1 
CPUMotherboardRAMHard Drive
Intel Xeon E5-2620 Super Micro X9SRL-F-B 128GB 1333MHz LSI 9271-8i 
OSPowerCase
VMware ESXi 5.5 SeaSonic SS-400FL2 Fractal Define R3 
CPUMotherboardGraphicsRAM
Intel Core i5-3437U HP EliteBook Folio 9470m  Intel HD Graphics 4000  16GB DDR3 SDRAM 
Hard DriveOS
256GB SSD Windows 10 Insider Preview 
  hide details  
Reply
Ol' Sandy
(28 items)
 
"Zeus"
(12 items)
 
Elite Preview
(6 items)
 
CPUMotherboardGraphicsRAM
Intel Xeon E3-1230v3 Gigabyte GA-Z97X-UD5H-BK MSI Gaming GTX 980 Kingston 32GB (4x8) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Samsung EVO 1TB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 8 Pro 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2713HM Topre Realforce 87UB | Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Logitech G700 XTRAC Ripper XXL 
AudioAudioAudioAudio
Beyerdynamic DT-770 Pro 250ohm Schiit Bifrost DAC Schiit Asgard 2 HiVi Swan M50W 2.1 
CPUMotherboardRAMHard Drive
Intel Xeon E5-2620 Super Micro X9SRL-F-B 128GB 1333MHz LSI 9271-8i 
OSPowerCase
VMware ESXi 5.5 SeaSonic SS-400FL2 Fractal Define R3 
CPUMotherboardGraphicsRAM
Intel Core i5-3437U HP EliteBook Folio 9470m  Intel HD Graphics 4000  16GB DDR3 SDRAM 
Hard DriveOS
256GB SSD Windows 10 Insider Preview 
  hide details  
Reply
post #6 of 11
Thread Starter 
Thank you for the pointers, i will pass along the info.
He just makes these programs to keep his mind active. His memory is failing fast and it just helps a bit.
Gaming/Video
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 760 @4.0Ghz ASUS P7P55D-E Pro ZOTAC GTX 580 Patriot Viper Xtreme 4GB DDR3 2000MHZ 
Hard DriveHard DriveHard DriveOptical Drive
ocz vertex 2 corsair Force Series 3 4 x WD Caviar Green WD15EARX  LG 8X/Blu-Ray Writer/16X DVD-Writer 
CoolingOSMonitorKeyboard
Corsair H50 Windows 7x64 Samsung 59" 3D Plasma 1080P MSMultimedia 1.1 
PowerCaseMouseMouse Pad
Consair HX-850W ANTEC 900 MS Wireless Moblie 3500 Couch 
  hide details  
Reply
Gaming/Video
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 760 @4.0Ghz ASUS P7P55D-E Pro ZOTAC GTX 580 Patriot Viper Xtreme 4GB DDR3 2000MHZ 
Hard DriveHard DriveHard DriveOptical Drive
ocz vertex 2 corsair Force Series 3 4 x WD Caviar Green WD15EARX  LG 8X/Blu-Ray Writer/16X DVD-Writer 
CoolingOSMonitorKeyboard
Corsair H50 Windows 7x64 Samsung 59" 3D Plasma 1080P MSMultimedia 1.1 
PowerCaseMouseMouse Pad
Consair HX-850W ANTEC 900 MS Wireless Moblie 3500 Couch 
  hide details  
Reply
post #7 of 11
Quote:
Originally Posted by Power_Man View Post

Thank you for the pointers, i will pass along the info.
He just makes these programs to keep his mind active. His memory is failing fast and it just helps a bit.

Good on him I say smile.gif
Ol' Sandy
(28 items)
 
"Zeus"
(12 items)
 
Elite Preview
(6 items)
 
CPUMotherboardGraphicsRAM
Intel Xeon E3-1230v3 Gigabyte GA-Z97X-UD5H-BK MSI Gaming GTX 980 Kingston 32GB (4x8) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Samsung EVO 1TB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 8 Pro 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2713HM Topre Realforce 87UB | Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Logitech G700 XTRAC Ripper XXL 
AudioAudioAudioAudio
Beyerdynamic DT-770 Pro 250ohm Schiit Bifrost DAC Schiit Asgard 2 HiVi Swan M50W 2.1 
CPUMotherboardRAMHard Drive
Intel Xeon E5-2620 Super Micro X9SRL-F-B 128GB 1333MHz LSI 9271-8i 
OSPowerCase
VMware ESXi 5.5 SeaSonic SS-400FL2 Fractal Define R3 
CPUMotherboardGraphicsRAM
Intel Core i5-3437U HP EliteBook Folio 9470m  Intel HD Graphics 4000  16GB DDR3 SDRAM 
Hard DriveOS
256GB SSD Windows 10 Insider Preview 
  hide details  
Reply
Ol' Sandy
(28 items)
 
"Zeus"
(12 items)
 
Elite Preview
(6 items)
 
CPUMotherboardGraphicsRAM
Intel Xeon E3-1230v3 Gigabyte GA-Z97X-UD5H-BK MSI Gaming GTX 980 Kingston 32GB (4x8) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Samsung EVO 1TB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 8 Pro 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2713HM Topre Realforce 87UB | Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Logitech G700 XTRAC Ripper XXL 
AudioAudioAudioAudio
Beyerdynamic DT-770 Pro 250ohm Schiit Bifrost DAC Schiit Asgard 2 HiVi Swan M50W 2.1 
CPUMotherboardRAMHard Drive
Intel Xeon E5-2620 Super Micro X9SRL-F-B 128GB 1333MHz LSI 9271-8i 
OSPowerCase
VMware ESXi 5.5 SeaSonic SS-400FL2 Fractal Define R3 
CPUMotherboardGraphicsRAM
Intel Core i5-3437U HP EliteBook Folio 9470m  Intel HD Graphics 4000  16GB DDR3 SDRAM 
Hard DriveOS
256GB SSD Windows 10 Insider Preview 
  hide details  
Reply
post #8 of 11
Quote:
Originally Posted by tompsonn View Post

Meh, I've seen worse VB6 applications lol.
haha oh yeah, you should have seen some of my first VB5 applications. They literally looked like someone had vomited on the computer screen. Back then I was just experimenting with the Win32 APIs though - so that's my defence redface.gif
Quote:
Originally Posted by Power_Man View Post

He just makes these programs to keep his mind active. His memory is failing fast and it just helps a bit.
Ahh fair enough. I stupidly assumed this was a corporate application. frown.gif
post #9 of 11
Quote:
Originally Posted by Plan9 View Post

haha oh yeah, you should have seen some of my first VB5 applications. They literally looked like someone had vomited on the computer screen. Back then I was just experimenting with the Win32 APIs though - so that's my defence redface.gif

Your defense could quite simply be the Win32 APIs stink. tongue.gif
Ol' Sandy
(28 items)
 
"Zeus"
(12 items)
 
Elite Preview
(6 items)
 
CPUMotherboardGraphicsRAM
Intel Xeon E3-1230v3 Gigabyte GA-Z97X-UD5H-BK MSI Gaming GTX 980 Kingston 32GB (4x8) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Samsung EVO 1TB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 8 Pro 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2713HM Topre Realforce 87UB | Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Logitech G700 XTRAC Ripper XXL 
AudioAudioAudioAudio
Beyerdynamic DT-770 Pro 250ohm Schiit Bifrost DAC Schiit Asgard 2 HiVi Swan M50W 2.1 
CPUMotherboardRAMHard Drive
Intel Xeon E5-2620 Super Micro X9SRL-F-B 128GB 1333MHz LSI 9271-8i 
OSPowerCase
VMware ESXi 5.5 SeaSonic SS-400FL2 Fractal Define R3 
CPUMotherboardGraphicsRAM
Intel Core i5-3437U HP EliteBook Folio 9470m  Intel HD Graphics 4000  16GB DDR3 SDRAM 
Hard DriveOS
256GB SSD Windows 10 Insider Preview 
  hide details  
Reply
Ol' Sandy
(28 items)
 
"Zeus"
(12 items)
 
Elite Preview
(6 items)
 
CPUMotherboardGraphicsRAM
Intel Xeon E3-1230v3 Gigabyte GA-Z97X-UD5H-BK MSI Gaming GTX 980 Kingston 32GB (4x8) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Samsung EVO 1TB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 8 Pro 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2713HM Topre Realforce 87UB | Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Logitech G700 XTRAC Ripper XXL 
AudioAudioAudioAudio
Beyerdynamic DT-770 Pro 250ohm Schiit Bifrost DAC Schiit Asgard 2 HiVi Swan M50W 2.1 
CPUMotherboardRAMHard Drive
Intel Xeon E5-2620 Super Micro X9SRL-F-B 128GB 1333MHz LSI 9271-8i 
OSPowerCase
VMware ESXi 5.5 SeaSonic SS-400FL2 Fractal Define R3 
CPUMotherboardGraphicsRAM
Intel Core i5-3437U HP EliteBook Folio 9470m  Intel HD Graphics 4000  16GB DDR3 SDRAM 
Hard DriveOS
256GB SSD Windows 10 Insider Preview 
  hide details  
Reply
post #10 of 11
Quote:
Originally Posted by tompsonn View Post

Your defense could quite simply be the Win32 APIs stink. tongue.gif

I liked them. They were fun. albeit I liked them because it was easy to hack things into doing unintended stuff (like turning Internet Explorer into a Word document so I could surf the web in class without my lecturers realising)
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Application Programming
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Application Programming › Windows compatibility issues help