Search code examples
idevb6

Compiled VB6 EXE does nothing at all, but runs fine from the IDE?


I found a strange problem between running the code in vb6 IDE and the compiled .exe. When I run my code via vb6 IDE everything works fine, there are no problems and the code executed correctly, but.. when I compiled the project, and run the .exe, nothing happened, the exe file doesn't run.

P.S. I want to note that when I open the vb6 IDE I don't run with administrator permissions. This seems a bit odd to me. Any ideas?  


Solution

  • As it turned out it needed to set Compatibility Mode on compiled exe file. Navigate to exe file in Explorer -> properties -> Compatibility tab, and try e.g. Windows 8 or some other early version of Windows.