Getting Application Settings from another application

Posted on 2009-12-19
Last Modified: 2013-12-17
I'm attempting to get application settings from another .exe. Why i'm wanting to do this is because I have 1 application used for sending a updated version of the other app to the update server, only issue to why I need to read its application settings from the app I'm wanting to send to the server is to make sure the one being sent dosent have the debug setting set to yes just because i have my debug setting turn off automatic updates.

So to prevent a mistake in sending out a debug=yes app how do I check another .exe's application settings. Thanks :)
Question by:Jakelee80
    LVL 19

    Accepted Solution


    Follow this sample code , it will show you how to do that
    LVL 19

    Expert Comment

    Look at the "Using .NETs configSource attribute" ....
    Since you are just Reading the file , you should not have any problems....

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
    A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now