CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2007
    Posts
    119

    Question Silently execute an exe at startup

    I have got C# windows application exe and want to execute that silently at startup can anyone please tell me how to do that?


    Thanks,
    Mushq

  2. #2
    Join Date
    Mar 2001
    Posts
    2,529

    Re: Silently execute an exe at startup

    What is wrong with the startup directory?
    or Registry item?

    "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" for that matter?
    Just put a string in that registry location named the application, that contains the path of your exe.
    ahoodin
    To keep the plot moving, that's why.

  3. #3
    Join Date
    Feb 2007
    Posts
    119

    Re: Silently execute an exe at startup

    I think you have missed one point i.e. want to execute that silently means no UI.

  4. #4
    Join Date
    Aug 1999
    Location
    <Classified>
    Posts
    6,882

    Re: Silently execute an exe at startup

    Then just hide the window.
    Regards,
    Ramkrishna Pawar

  5. #5
    Join Date
    Mar 2001
    Posts
    2,529

    Re: Silently execute an exe at startup

    I second that.
    ahoodin
    To keep the plot moving, that's why.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured