DomGal - Feature Request: Browse Windows Registry for path to EzThumbs
I was wondering if there is a way to find the path to EzThumbs.exe without using a profile document.
Ich changed the code in "Process Image Upload" from:
'These should be moved to the profile doc
sImagePath="c:\temp\"
sEZThumbsPath="C:\Program Files\Easy Thumbnails\EzThumbs.exe"
to the following code including access to the registry:
Dim result As Variant
Const NotesMacro = |@RegQueryValue("HKEY_LOCAL_MACHINE"; "Software\\Microsoft\\Windows\\CurrentVersion\\App Paths\\EzThumbs.exe"; "Path")|
result = Evaluate(NotesMacro)
sEZThumbsPath = result(0) + "\EzThumbs.exe"
That's it.
Christian
Taken Actions by OwnersNo actions have been taken yet.Documents