|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
saving common settings without non-administrative privilegesI am trying to find a way to save common data in my program that will not
change from different users. I tried both HKEY_LOCAL_MACHINE and writting to an ini file and storing it in my Program directory. However, in order for this to work, all the users need administrative privileges. Is there a proper way to store common data that I am not aware of? For example, I have a test number that I need to increment. And this test number must not change when the user changes. Thanks Sometimes using a database is the best solution to problems of sharing
data. If you don't happen have a database lying around for other purposes, you might want to consider SQLExpress -- it's free. --Mary On Tue, 22 Aug 2006 10:28:02 -0700, dgcooper <dgcoo***@discussions.microsoft.com> wrote: Show quote >I am trying to find a way to save common data in my program that will not >change from different users. I tried both HKEY_LOCAL_MACHINE and writting to >an ini file and storing it in my Program directory. However, in order for >this to work, all the users need administrative privileges. > >Is there a proper way to store common data that I am not aware of? > >For example, I have a test number that I need to increment. And this test >number must not change when the user changes. > >Thanks |
|||||||||||||||||||||||