Possible Duplicate:
Is the .Net framework required for even a single line of VB.Net?
I’m getting my programming feet wet by designing a simple vb .net program to run utilities and installations from a flash drive. I’m making good progress with the coding and design but I was surprised when I went to show off my work on a system with a fresh XP installation and got a “Not valid win32 application” error when I started the exe. Pretty embarrassing actually.
Is having the .net framework installed essential to loading a .exe coded in vb .net? If this is the case, is the only alternative to try and adapt the code to vbs script or something similar? Are there any other reasonable workarounds short of installing .net on the target system? Thanks in advance.
Yes.
It’s named VB
.Netfor just that reason. 🙂Adapting the code to VB6 (which needs a different series of DLLs installed on the target machine) or to VBScript will likely be quickest.