LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Which folder - good practice?


Hi there

I have created a set of addins which, via an install procedure, get
saved in C:\Program Files\MyCompanyName. Registry entries are set
accordingly.

I create a custom INI file during the startup of my add-in using Open,
Get, Put, etc. and use to store path information and othe user
variables. The INI file location is taken from the ThisWorkbook.Path
value.

This works fine on most Office/Windows versions except XP, when the INI
file Put fails because the user (I guess) does not have write
permission to C:\Program Files. I do not want to put the INI file into
the My Documents folder as I believe it would be too vulnerable to
inquisitive users.

Does anyone have a suggestion as to what they have found to be good
practice for add-ins that are likely to be deployed across several
operating systems that would get around the problem outlined above?

Many thanks, in advance, for any advice.

Neil

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
And in case I don't see you,good afternoon,good evening,and good n msnyc07 Excel Discussion (Misc queries) 1 June 1st 10 11:24 AM
Which is the good PERSONAL folder in XP Pro Leon Excel Programming 3 November 8th 05 10:34 PM
Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a question of how good you [email protected] Excel Programming 0 April 27th 05 07:46 PM
Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a question of how good you [email protected] Excel Programming 23 April 23rd 05 09:26 PM
Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a question of how good you [email protected] Excel Programming 0 April 22nd 05 03:30 PM


All times are GMT +1. The time now is 10:01 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"