Executable will only run on source computer.
Posted: Tue Oct 19, 2021 6:46 pm
I created a small database to track my wife's vitals and compiled it to an .exe. I double click the .exe and it runs perfectly.
I then copied the .exe over to my other computer and it will not run. It loads the screen but then the screen goes gray and I get a dialog that says the program has stopped working. I copied the .exe to my wife’s computer and tried it there but I get the same dialog, yet it works perfectly on my original computer that I used to program and compile it. I have never had this happen before. Any ideas as to what’s going on?
BTW: I have the “Create temporary executable in the source directory” checked.
[Edit] I just tried running the .exe from another location on my original computer and it won't run there either. It will only run from the original folder that it was programmed in.
Thanks
I then copied the .exe over to my other computer and it will not run. It loads the screen but then the screen goes gray and I get a dialog that says the program has stopped working. I copied the .exe to my wife’s computer and tried it there but I get the same dialog, yet it works perfectly on my original computer that I used to program and compile it. I have never had this happen before. Any ideas as to what’s going on?
BTW: I have the “Create temporary executable in the source directory” checked.
[Edit] I just tried running the .exe from another location on my original computer and it won't run there either. It will only run from the original folder that it was programmed in.
Thanks