VBA filepath length restricted to 126 characters since Windows 1903 update? RRS feed

  • Question

  • I have several PowerPoint addins rolled out with quite a few organisations globally and it looks that on machines that had the Windows 1903 update (specifically Microsoft Surface Laptops), our code falls over on filepaths that exceed 126 characters. We know of this restriction on the 'LoadPicture' method: 

    Set ImageControl.Picture = LoadPicture (FilepathOnlyAllowedUpTo125)

    We cannot shorten the filepath, that's not an option. 

    We have tried to set the Registry Key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\LongPathsEnabled to (1) but to no avail. 

    Can someone suggest a workaround until such time as this Windows bug is fixed? 

    Thank you 

    • Edited by kenska Thursday, October 10, 2019 6:16 PM
    Thursday, October 10, 2019 6:15 PM