Forum Discussion

NcarterCompass's avatar
NcarterCompass
Copper Contributor
Dec 03, 2019
Solved

CreateObject getVersion Outlook registry key

Afternoon, Program uses CreateObject to create a new email form using Outlook. Part of this involves a getVersion check in the registry to a key that has a value of a file path under C:\Program File...
  • NcarterCompass's avatar
    NcarterCompass
    Dec 13, 2019
    Got it.

    Big thanks to Diane on the community site. Key referenced

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\outlook.exe

    If I alter the path, the automation breaks and causes the errors in the Event Viewer. Users affected likely still have a path tied to the store app version of Outlook, even if it was previously removed off the system, the registry did not get changed to reflect a pathway to the C2R local version of Outlook. Correct the values to the following and the problem is resolved:
    (Default) C:\Program Files\Microsoft Office\Root\Office 16\OUTLOOK.EXE

    Path C:\Program Files\Microsoft Office\Root\Office 16\

Resources