I know there are other ways to start programs, but I also want to test the installation of our product to verify that all menu items exist and are correct. Does anyone have a snippet code that uses XP's Start/All Programs/MyApp? The code I have for 2K doesn't work and I tried the Record to see what would happen, but that too didn't work.
What if you open up the Start menu in Windows Explorer? The shortcuts will be installed under:
C:\Documents and Settings\All Users\Start Menu
Maybe you could loop through and double-click each one? You would then need to verify that the program loads, as opposed to a "can't find target" message. Another option might be to have the code open the shortcut, pull the path, and verify that a file exists at that location.