Chapter 23

Auto Launching Applications

WHAT’S IN THIS CHAPTER?

  • Launching an application during startup
  • Configuring the registry to auto launch an application
  • Auto launching an application using the Startup folder
  • Using the AutoLaunch component

A Windows Embedded Compact 7 device is designed to perform designated functions. It’s common for a Compact 7 device to be designed without the typical Windows desktop and launch a custom application as the device’s primary user interface during startup.

For some Compact 7 devices, in addition to the need to automatically launch a custom application that functions as the primary user interface, the device needs to launch additional applications and services during startup to support the device’s functions. Some of the applications may have dependencies and need certain system resources and other applications to be launched to function properly. Otherwise, launching these applications prematurely can cause system errors.

You can use different methods to automatically launch an application during startup. This chapter talks about the following options, which you can apply to your Compact 7 device:

  • Configuring the system registry to auto launch an application during startup
  • Placing an application in the \Windows\Startup folder for the OS to launch the application during startup
  • Using the AutoLaunch component, from the AutoLaunch4CE project on the Codeplex site, to AutoLaunch multiple applications, with configurable time delays for each individual ...

Get Professional Windows® Embedded Compact 7 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.