Skip to content

Exe path

Muslim Modi

Asked Apr 19, 2007, 10:17 PM EDT1 answer
Share
LinkedInX
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

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    Design your application to start maximized.
    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.
    0