Search code examples
.netwindowswindows-mobilecompact-framework

Program not getting displayed on startup


I have written a C# application for Windows Mobile 6.0 that I would like to be loaded on start up of the device. I have therefore put as shortcut to the executable in the \Windows\StartUp folder on the device. I have checked the shortcut and it works fine.

My problem is that when I reboot the device the application is loaded but I see the Home screen. If I go to Task Manager I can see it there running. How can I make it so it is visible on start up.

Any help greatly appreciated.

Mike


Solution

  • Form.BringToFront

    or

    p/invoke SetForegroundWindow

    -PaulH