Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Run vb.net application in *.bat
Name: carol kys Date: February 28, 2007 at 19:07:42 Pacific OS: win xp CPU/Ram: 512mb Product: HP
Comment:
Hi All,
I'm a newbie in batch programming. I have a situation needs to run vb application within the batch. what is the command for running this? Should i create an .exe to run this? Where my vb application consist of a form and user input.
I'm not a VB.net expert, but you have to run your application inside the batch the same way you would start it from the command prompt.
Be aware that a batch executes the apps sequentially, i.e. it doesn't go on untill the activated program ends, so to run in parallel mode you have to use the Start command
Start "" Pathname_of_Application
0
Response Number 2
Name: carol kys Date: March 8, 2007 at 00:30:27 Pacific
You missed the "" after the Start and before the "C:\... so the program path is interpreted as the window's title. That is unknown to the millions but try and you see your form to blow up, almost I hope.
0
Response Number 5
Name: carol kys Date: March 11, 2007 at 19:18:58 Pacific
Reply:
Hi IVO,
Yes. U r right, it works perfectly. Thanks alots for ur help.
Summary: I have developed a program in vb .net and want to run the application in win98. after installing dotnetfx.exe file and then extracting setup in win98, it gives an exception at the strat of the program...
Summary: I just completed a stand-alone VB.NET application that I wish to create an installer for. My program has two dependency files, one is a .dll and the other is a .xml. The files need to be in the work...
Summary: i have developed a database application that i want to deploy in a client server architecure..... now i want my application to find the running database server by itself how can i do that.... if the d...