Avatar of PNRT
PNRT
 asked on

VB.Net Run VB Exe without installing the program

Hi Experts.   I've written a very small formless windows app that just moves a file from A to B.   There are no dependancies.

When I publish the app it insists on creating a click once install version with a setup file.    Is there some way that I can just produce an .exe file that I can transfer to the target machine and have it run?    I've tried just moving the .exe from the bin\debug folder of the solution but that just produces the error "Unable to find a version of the runtime"      Any help appreciated.
Visual Basic.NET

Avatar of undefined
Last Comment
Pratima

8/22/2022 - Mon
Pratima

yes.
You can schedule the exce from Scheduled tasks .

Take the exe from bin\debug or bin\release folder and click on it directly it will run

Or if you want to perodically run it ... schedule it
Pratima

if you want to move exe , you can not mpve only exe you need all supporting dll's nd config files also in that folder. copy all and then try
ASKER CERTIFIED SOLUTION
Pratima

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Pratima

All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck