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
Loading
calinPosted Apr 23, 2007, 11:16 AM
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.