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 / .NET SDK / March 2006

Tip: Looking for answers? Try searching our database.

Asking again - how to get config info - can't use app.exe.config

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David Thielen - 15 Feb 2006 23:31 GMT
Hi;

Here is the situation. We have a dll that is an AddIn to Word. Some of our
customers will not allow us to place the file winword.exe.config in the
directory winword.exe is in for security reasons.

We can't place anything in the winword.exe directory.

We cannot have a file winword.exe.config that Word would use for the entire
exe.

So in this case, what is the suggested way to get config information to our
dll. We can create a file lib.dll.config and place it in the same directory
as our dll, but that doesn't get read. We could specifically look for that
file - but I want to use what ever method Microsoft recomends for this
situation.

Signature

thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

David Thielen - 20 Feb 2006 18:01 GMT
Hi;

Since no one came up the "correct" way to do this we are presently opening
the file as a standard xml file and making xpath calls on it. If I ever find
out the official way to do this I will post here. Otherwise, I guess it's
roll your own.

Signature

thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

> Hi;
>
[quoted text clipped - 12 lines]
> file - but I want to use what ever method Microsoft recomends for this
> situation.
David Thielen - 03 Mar 2006 20:15 GMT
Asking again and hopefully now it is marked for managed NG support.

Signature

thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

> Hi;
>
[quoted text clipped - 19 lines]
> > file - but I want to use what ever method Microsoft recomends for this
> > situation.

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.