Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

FAQ.How to check if Microsoft Outlook is installed?
Answer: If you need Outlook for Scripting, you should simply check registry for the required Outlook.Application class:
Example:
Function OutlookInstalled() As Boolean
#if TargetWin32 then

try
dim r as new RegistryItem("HKEY_CLASSES_ROOT\Outlook.Application\CLSID", false)

Return true

catch r as RegistryAccessErrorException
// not installed
Return false

end try

#else

// Windows only, so false on other platforms
Return false

#endif

End Function

Feedback, Comments & Corrections




Links
MBS Xojo PDF Plugins