473,671 Members | 2,514 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating and updating app.exe.config

Sl1ver
196 New Member
Create my app.exe.config file
e.g
<?xml version="1.0" encoding="utf-8" ?>
<configuratio n>
<appSettings>
<add key="MobileDBPa th" value="\Program Files\database. sdf"/>
<add key="WebService " value="http://localhost/SyncService.asm x"/>
<add key="CSVPaths" value="\Program Files\Folder"/>
</appSettings>
</configuration>

This is what i need to do
i need info from 3 text boxes to be either added (if empty) or update (if there is already info in it). when the info is inserted to the text boxes they should press 1 update button that will update/add info to the 3 different keys. How would i go about doing that?
Mar 18 '09 #1
2 2779
tlhintoq
3,525 Recognized Expert Specialist
What have you coded so far?
In the work you've done so far what error(s) are you getting?
In your own trial and error, where is your code not behaving as expected?
Please show us what you've tried so far so we can make an effort to see where something went wrong.

Posting Homework or Coursework Questions and Answers
This site is not a place where you can get your homework and course work done for you. Ignoring the questionable morals of getting someone else to do your work towards a formal qualification you will learn a lot more by attempting the problem yourself, then asking for help with the bits that are not working. You will be more likely to get help if you appear to have made an attempt at the problem yourself.
If it appears that the question has just been pasted directly from a text book or coursework assignment our moderators have been instructed to meet this with a set response. This is a pre-written message asking you to make some attempt at the assignment yourself before asking questions about specific problems and referring you to this FAQ.
Do NOT post your complete source code. Remember, you found this site, so can your professors and tutors and they are likely to take a dim view if you hand in something that appears to be copied from this site. In most academic institutes the minimum response to copying of assignments is a 0 mark for the assignment in question. If you post your entire code your professor will not know it was your work, you may be penalised for copying from yourself.
If an expert requests that you provide more of your code then you can PM it to them, however please do not PM them your code unless requested.
Acceptable questions that students can ask are on functionality and theory or syntax corrections in small posted code snippets.
Please make sure you have asked an actual question worded in English outside of the text of your assignment that you have posted.
If you are answering someone who is working on a homework or coursework assignment then please remember
If you need to see a students full code for any reason request that it be forwarded to you directly by PM. However when replying try to word your reply so that it can post back to the forum.
Remember students are supposed to be learning. Posting complete solution replies is not helping them to learn the process of programming whatever language they use. In addition should their professor or tutor be watching and they use your solution they will likely get into trouble. You won't have helped them in any way. You need to act as a tutor, helping the poster to the understanding of how to solve the problem, not solving it for them.
If anyone does post a full code solution then the solution will be edited by the moderator appropriately and the person will be referred to these guidelines.
If at any time the complete solution to a coursework assignment is posted then it will be reduced or removed at the earliest opportunity. Anyone repeatedly posting complete solutions to coursework questions is liable to have stronger action taken against their account.
Mar 18 '09 #2
Sl1ver
196 New Member
I got it sorted man, created a new manager class that handles the events for me, now the app wont get to connect to the server, but ill sort it out. shot for the help
Mar 19 '09 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1872
by: miannone | last post by:
I was hoping someone could help me out. I have created a WindowsService that runs periodically throughout the day using a timer. This windows service looks into a Microsoft SQL database and looks at a few tables and performs a few operations. It uses a app.config file to read in some settings, such as: database connection string, time to perform its operations, etc This all works well, however if the app.config file is changes (ex. change...
2
1648
by: MisConFit8 | last post by:
My question is this - is it possible to set a standard value in the web.config file and change it later based on conditions? Why, you might ask? I am building a web based application for inter-office usage. It is an application where software product keys and license keys are stored and created. We have 1/2 of the office personnel working from within the domain, and 1/2 that disconnect and work in the field. I am setting up replication for...
1
1985
by: MT | last post by:
We have a .NET dll that we are deploying to our customers using a deployment project in VS .NET 2003. There is a lot of information about creating publisher policies on the web, but we have not been successful in creating one. Here's what the ultimate goal is: When the DLL is deployed to a customer's system, every application using this dll must point to the new version. This has to be an automated process using the deployment project....
1
2134
by: Matt | last post by:
Hi, I was wondering if anyone can tell me why dynamically updating the web.config file causes ASP.NET worker process to recycle and detroy all session states including variables. Is this a known bug or is it by design. Do we know why microsoft do not supply a method to write values to the web.config file. Thank you to anyone who can give me any clues to this problem. Regards,
12
3153
by: Mats Lycken | last post by:
Hi, I'm creating a CMS that I would like to be plug-in based with different plugins handling different kinds of content. What I really want is to be able to load/unload plugins on the fly without restarting the application. What I did was to create an AppDomain that loaded the plugins and everything was great, until I tried to pass something else that strings between the domains...
1
2598
by: Christian Rühl | last post by:
hey! what i wanna do sounds very simple at first, but it turned out to be a real bone crusher... i want to check if a treeView node is checked and if a correspondent node in my xml config file exists just to sort of synchronize them by changing the xml nodes attribute(s). somehow i always catch an exception "blabla has an invalid token" but i cannot find a solution for this. maybe someone of you people can tell me how to do this...
5
1531
by: Joey | last post by:
Hi, I am using NFOP to generate PDF files from my web pages. The problem is that when i change the web.config, the page that is using NFOP hangs. I don't know if this is directly related to NFOP, however i would like to know if i can make a workaround to solve this. Maybe by unloading the NFOP assembly and reloading it? Can anyone help in this, please?
0
1328
by: davemills81 | last post by:
Hi, Does anyone know how to update the user or application settings of a dll after building? The problem I have is? I have recently developed a service in C# that attaches references a dll. Lets call it myDll.dll The dll has an app.config file that contains user and application
0
2563
by: Gauls | last post by:
Hi, I have webservice application that uses some assemblies whoes version number keeps changing and are stored in some folder on the same machine as my webservice. Every Time the assembly version changes i need to change the binding redirect and code base in the web.config file. EX : <dependentAssembly> <assemblyIdentity name="ABCD" publicKeyToken="Sometoken" culture="neutral" />
0
8483
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8401
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8926
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8824
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7444
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6236
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5703
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2818
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2060
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.