vb.net - Get new command line args while running -
i'm running vb.net app uses command line args , store them in variables, and, example, put them in textbox. want external app pass data every minute app calling app data argument. know can command line arguments using getcommandlineargs. can 'new' args while running, whithout restarting app?
example: - start app, using "myapp.exe argument1". shows "argument1" in textbox - next, run "myapp.exe argument2" (while myapp.exe still running), , myapp should keep on running, display "argument2"
is possible using command line args, or need use approach?
thanks!
but can 'new' args while running, whithout restarting app?
no, command line arguments set once during lifetime of running application. need use approach pass data application (wcf, sockets, database, files, remoting, named pipes, ...).
Comments
Post a Comment