Start CF application with no UI

Last post 03-04-2008 8:31 by ctacke. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-04-2008 6:52

    • adic
    • Top 200 Contributor
    • Joined on 02-26-2008
    • Posts 2

    Start CF application with no UI

    Hi,

    I have a win form application running on netcf 2 SP 2 and I use opennetcf notify icon as the application icon. I have 2 issues that I could not resolve by myself:

    1. When I start my application, I don't want any form to be opened (the form will be open only as a result of user event).
    2.  I need to start my application automatically after soft reset. Does anyone know how to do it?

    Appreciate your help,

    Adir

  • 03-04-2008 8:31 In reply to

    • ctacke
    • OpenNETCF Staff
    • Top 10 Contributor
    • Joined on 07-27-2007
    • Indiana
    • Posts 1,866

    Re: Start CF application with no UI

    For #1 you can use SDF 2.2 OpenNETCF.Windows.Forms.Application2.Run method that has an overload to allow you to *not* show the form at startup.

    For #2 put a shortcut to your app in \Windows\Startup

     

     

    Filed under:
Page 1 of 1 (2 items)