Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Distributed Applications / February 2004

Tip: Looking for answers? Try searching our database.

Microsoft configuration management app block.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hadi - 16 Feb 2004 04:21 GMT
Hello,

As far as I know it, the MCAB read/writes from the file app.config. Is there
a way for MCAB to read/writes file located in the user's directory? So each
user can have his/her own application setting. Is this possible to do so
using MCAB?

thanks,
richlm - 20 Feb 2004 11:01 GMT
The current version of CMAB does not appear to support this

A 1 line change to the source of XmlFileStorage.cs is all that is required
Change line 71 fro
_applicationDocumentPath = Path.GetFullPath( _applicationDocumentPath )
t
_applicationDocumentPath = Path.GetFullPath( System.Environment.ExpandEnvironmentVariables(_applicationDocumentPath ) )
richlm - 20 Feb 2004 11:11 GMT
... of course the path reference in app.config should now be something like path="%USERPROFILE%\myconfig.xml"

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
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.