473,513 Members | 2,525 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" ?>
<configuration>
<appSettings>
<add key="MobileDBPath" value="\Program Files\database.sdf"/>
<add key="WebService" value="http://localhost/SyncService.asmx"/>
<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 2766
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
1856
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...
2
1645
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...
1
1972
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...
1
2124
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...
12
3139
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...
1
2575
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...
5
1526
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...
0
1306
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. ...
0
2547
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...
0
7260
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,...
0
7161
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...
1
7101
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7525
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5686
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,...
1
5089
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...
0
3234
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1596
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 ...
0
456
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.