A free sample chapter from Packt Enterprise's book: Microsoft Dynamics NAV 2009 Programming Cookbook.
If you have programmed with Windows or used a Windows-based operating system for any length of time you will see that it is really an all-encompassing OS. Unlike with other types of software development, we don't need to interact with device drivers or create three dimensional graphics for our users. Most of what we need to do involves integrating with the file system; that is searching for files or folders and running external applications. Occasionally, we may need to go a little deeper than that. There may be instances where we need to check the user's environment, query the registry, or check for specific administrator permissions. These can all be performed within NAV, although many require a little outside help from a built-in or custom automation control. As Windows is such a large piece of software, it already contains ways for us to do these things. As a result, the recipes in this chapter are not very lengthy or complicated, but that does not make them any less useful. They explore the basics of what you can do with the OS and it is up to you to decide when and how to make the best use of them.
Packt Enterprise books can be summed up through the tagline "Professional Expertise Distilled". They take in-the-trenches knowledge from experienced software professionals, and distil it into a single, easy to follow manuscript.