2

I inherited a headache. I have a small legacy (GUI) app that was developed 10 years ago and the VB6 source code is long gone. It works currently on a couple of old XP PCs and I was asked to see if I could get it working on Windows 7 64bit. Well… that was a no go, so I tried a 32bit version to verify that 64 wasn’t the issue and it didn’t work. So I then created an XP virtual machine and it didn’t work either. The issue is the same on all three environments. You double click the .exe and nothing is displayed but when you look under task manager, it’s there and pegging the CPU.
I downloaded Dependency Walker and it seems that all the required dlls and OCX files are there. Can anyone suggest anything else? I’m really at a loss here. Anything would be appreciated!

Scott Wojan
  • 89
  • 1
  • 2
  • 3
    without source code, its not really a programming issue.... – Mitch Wheat Jun 08 '12 at 00:58
  • If someone knows of a decompiler that actually works or has seen this issue while developing/deploying their own apps it is. – Scott Wojan Jun 08 '12 at 01:22
  • There are existing questions about VB6 decompilers. In short, there don't seem to be any good ones. http://stackoverflow.com/questions/414068/is-there-a-vb6-decompiler http://stackoverflow.com/questions/678544/free-vb-6-0-decompiler http://stackoverflow.com/questions/1406015/decompiler-for-visual-basic-6-program – MarkJ Jun 08 '12 at 11:56

2 Answers2

3

The standard approach is to download and run ProcessMonitor, set it to filter just your executable, run your executable and ProcessMonitor will capture what DLLs/Files/ Registry settings are being used by your application.

Mitch Wheat
  • 295,962
  • 43
  • 465
  • 541
  • +1, wish it could be more. @user1443429 , for debugging VB6 COM component loading, this is a key step. – tcarvin Jun 08 '12 at 15:43
0

Have you confirmed you have the VB6 runtime files installed?

http://support.microsoft.com/kb/290887

I'm not sure if they are included in Win7 anymore and they were only in XP in one of the later service packs.

Zippit
  • 1,673
  • 1
  • 11
  • 11