Quote:

I believe many of our staff won't have a "DefaultProfile" value, Outlook 2007 will create a profile value of "Outlook" if left to it's own devices, and several of our staff may have other values defined.


The "defaultprofile" value is a registry setting. If you follow the path HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles in regedit, you will likely see the value is "Outlook". Hardcoded values are going to give you big time headache eventually. This method is much better.