Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / September 2007

Tip: Looking for answers? Try searching our database.

Store and Retrieve Network Path for Word Add-in

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Microsmith - 15 Sep 2007 17:20 GMT
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

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.