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

Re: Store and Retrieve Network Path for Word Add-in by Russ

Russ
Thu Sep 20 04:35:17 CDT 2007

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,
>
> 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

drsmN0SPAMikleAThotmailD0Tcom.INVALID