Hi,
i have developed a window application in c# 2005. when i deploye my application on client machine, i create a shortcut on desktop and place shortcut in startup.
what my problem is that when exe runs from desktop i have to display application form in maximized mode. but when exe runs from startup then application form should be in minimized mode. how can i solve this problem through code
thanks
Exe path
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
calin4 pointsPosted Apr 23, 2007, 7:16 AM EDT
Create a batch file and add it to start up:
file:
start /min your_application_path
this script start your application in minimized form.
Hope this helps.