Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 16044

Why does my .exe file not work on another computer ?

$
0
0
Hi,

I don't know what I've done wrong now !

I've created a new Windows Forms App (.NET) [Visual Basic] [Windows] [Desktop]

The application runs without any hitches on the Win.10 machine it was written on.
For the past lord knows how many years I written programs on the machine which was current at the time, and just copied the .exe file to other computers and there's been no problem.

Normally I just find the .exe file in (For example) 'D:\Visual Studio Projects\Projects\CrossWord\CrossWord\bin\Debug', I haven't used the 'bin\Release' option for several years.

Today however I find that in the '\bin\Debug' folder there is nothing but one new folder 'net5.0-windows' and the files which are usually just in the 'Debug' folder are all in there.

So, ok, Bluetooth the .exe file to another Win.10 machine, fine, all copied. Try to run the the app. Nothing ! it will not run. No error notices or any indication as to why it's not running.

So... Copy the .exe file to a memory stick and try it in a Win.7 machine, never had any problem doing that. Still won't run, still no indication as to why not.

I tried running 'Release' and did the same with the .exe file in the 'bin\Release\net5.0-windows' folder, (yes the new folder is in there too.) No difference, still no joy.
I used the same process two weeks ago with no problem, that app. still is still working just fine.
I don't know what to do next.

Current machine:
OS Microsoft Windows 10 Home. Version:10.0.19042 Build 19042
System Type x64-based PC

Microsoft Visual Studio Community 2019: Version 16.8.4
VisualStudio.16.Release/16.8.4+30907.101
Microsoft .NET Framework: Version 4.8.04084


Poppa

Viewing all articles
Browse latest Browse all 16044

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>