Hello,
I developed an add-in I plan to sell. The add-in loads stored images from
the program files directory on the host computer. The program works fine
with a local install. However, I would like to be able to offer the program
for network installations. I can't figure out the best way for the installer
to provide the path so the add-in knows where to retrieve the files. My
first thought was to have a bookmarked place in the add-in file itself where
the network path could be stored but I can't figure out how to retrieve the
contents from that bookmark.
Any input is appreciated.
Microsmith
Russ - 20 Sep 2007 10:35 GMT
Microsmith,
Does this help:
Windows Environmental Variables:
http://www.analogduck.com/main/node/298
VBA code:
strDrive = Environ("HOMEDRIVE")
strPathDocs = strDrive & Environ("HOMEPATH") & "\My Documents"
> Hello,
>
[quoted text clipped - 10 lines]
>
> Microsmith

Signature
Russ
drsmN0SPAMikleAThotmailD0Tcom.INVALID