|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Preferred file locationsCan anyone point me to a summary of recommended folder locations for
..Net applications to use for eg config files. (Or if it's simple just spell them out please.) I'm currently saving my programs' config and template files to the application folder, which I'm sure has been deprecated for some time but is maybe going to become more difficult under Vista? JGD John Dann wrote:
> Can anyone point me to a summary of recommended folder locations for In your applications folder - or, when using config files that are used > ..Net applications to use for eg config files. (Or if it's simple just > spell them out please.) by more than one application the commonfiles folder (or, maybe better, documentsandsettings\(all)user(s)\applicationdata > Where they belong> I'm currently saving my programs' config and template files to the > application folder, which I'm sure has been deprecated for some time > but is maybe going to become more difficult under Vista? Why should this be depreciated?> > JGD id suggest not saving to anywhere within the Program Files directory. From
what ive read, in Windows Vista, programs will be unable to write information to the Program Files directory and any directory inside of it -- -iwdu15 That's a good one.
Allmost all vb2005 applications have an application.config file in the application directory, which is usually in program files. Can someone tell how this is solved? iwdu15 wrote: Show quoteHide quote > id suggest not saving to anywhere within the Program Files directory. From > what ive read, in Windows Vista, programs will be unable to write information > to the Program Files directory and any directory inside of it "John Dann" <n***@prodata.co.uk> schrieb: I suggest to check out the documentation on the values which can be passed > Can anyone point me to a summary of recommended folder locations for > .Net applications to use for eg config files. (Or if it's simple just > spell them out please.) > > I'm currently saving my programs' config and template files to the > application folder, which I'm sure has been deprecated for some time > but is maybe going to become more difficult under Vista? to 'System.Environment.GetFolderPath'. This method can even be used to obtain the path of a special folder on the target system. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Q: Viewing an excel file
Get Calling Function Info How to set OpenFileDialog to "My Computer" Simple dataset update @ runtime not working How to Transfer an Excel Range to an ADO.Net DataSet or DataTable in VB.Net? Problems when try to launch word in server 2003 Diagnostic Information Collation Begginer questions Opening an Adobe Acrobat file Using VB.NET windows service |
|||||||||||||||||||||||