Alex Kibler
Alex Kibler

Reputation: 4954

VB6 program works in the IDE but compiled exe doesn't reflect changes

I just started my new job and was assigned a simple task: change an SQL statement in a VB6 program, test it, publish the changes. All I did was change the AS field of SELECT COLUMN AS NAME. I made a new EXE, and it doesn't show the new changes. However, when I run with full compile, the changes work excellently. I even tried making a debugging MsgBox but it doesn't show in the compiled EXE. There are no errors during compilation.

Any ideas what would cause this?

Upvotes: 1

Views: 703

Answers (1)

Alex Kibler
Alex Kibler

Reputation: 4954

Like MarkJ said, I wasn't actually running the EXE I thought I was running. When I checked it with Process Explorer , the actual EXE was running from AppData\Local\Temp, so I just deleted those EXEs, ran again, and everything worked excellently. Thanks for the advice @MarkJ!

Upvotes: 2

Related Questions