Forum Discussion
NcarterCompass
Dec 03, 2019Copper Contributor
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...
- Dec 13, 2019Got 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\
NcarterCompass
Dec 06, 2019Copper Contributor
Any input on this? It's difficult to comb through multiple registry entries that are similar to identify which specific one is being used to direct to the appropriate file path.
Thank you for your time.
Thank you for your time.