473,883 Members | 1,694 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Where do settings get saved once the application is running?

26 New Member
I would like to find out where (in what file) do settings get saved when my application runs (made with windows forms - after i publish my application, not when i debug it). All my settings are saved with the Scope being "User" and the default value being 0.
For example i got this code
Expand|Select|Wrap|Line Numbers
  1. int x;
  2. x = Properties.Settings.Default.xSetting;
  3. private void buttonAdd_Click(object sender, EventArgs e)
  4. {
  5.   x++;
  6. }
  7. private void buttonSave_Click(object sender, EventArgs e)
  8. {
  9.   Properties.Settings.Default.xSetting = x;
  10. }
So when i click the buttonAdd button it increase the x, when i click the buttonSave it saves the setting. I know where the default setting is saved, i cant find any file where the new settings are saved, the ones that change from one runtime to the other.

Thanks anticipated.
Oct 2 '11
24 18184
1,501 Recognized Expert Top Contributor
No it doesn't uninstall it, it just updates the binaries in the installation folder.
Oct 5 '11 #21
Andrei Pistol
26 New Member

I must learn how! I've read a lot about it but every "guide" was really complicated, they said first i must make an xml with the version, then compare the 2 versions (the new one and the old one) and if bla then bla, if not then....ugh, i kinda stopped there since there were a few pages. Do you know any cleaner solutions?
Oct 5 '11 #22
1,501 Recognized Expert Top Contributor
Check the options on the publish tab, there should be something that asks how your application should check for updates (and possibly what it should do about it). Have a look in there.
Oct 5 '11 #23
Andrei Pistol
26 New Member
I need to upload it on the net first, and i don't know exactly what to upload, the WHOLE source? Neither do i know how to upload it, as in, most uploading sites give you the site where if clicked you automatically start the downloading process.
Oct 5 '11 #24
1,501 Recognized Expert Top Contributor
When you click the publish button on the publish tab, it will generate files. This is what you put on your server. The user will run the .application file and it will deploy to their machine. You also have to put the site/folder it deploys from in the publish information.
Oct 6 '11 #25

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

Similar topics

by: Imran Aziz | last post by:
Hello All, I have developed an ASP.net application using the latest beta release (version 2 beta 2)of dot net using Visual studio .net express edition. I have been testing the application using the debugger and built in web browser, and it works fine on it. But now that I have copied the contents to an IIS 5.1 Server the application runs dead slow, In the Build -> configuration manager I was not able to find an option for release build...
by: Karunakararao | last post by:
hi all Can't Shutdown with System Tray Application Running in C#.net Regards Venu
by: Ashish | last post by:
I have a application in which culture settings are customizable, they dont depend on the machine settings on which the application is running, I need to make sure that all the threads running in the application have the correct culture settings .. I have some questions to better understand this concept .. 1. Is every thread in asp.net application associated with a session ? 2. I have a webpage which is parent of all the pages in the...
by: Bob Rock | last post by:
Hello, how do I get from the application itself the root (or bin) folder where the asp.net application is running??? Regards, Bob Rock
by: Tim Diggle | last post by:
I'm trying to enter data into a database application running under Citrix ICA Client. I'm doing it from a VBA macro running under Microsoft Excel 2000 (although it may need to be backwardly compatible with '97). I'm doing this by using appactivate to activate the database application, then sendkeys to send strings of data and tab characters to fill up a series of data fields. Now, this works if Excel is running under Citrix, but if...
by: Rodney | last post by:
I want to provide a small Click Once application to a small number of selected users, when the application is published on an otherwise public web server (I don't want everyone to have access to my application). My first solution was to setup a virtual directory (the publish location) with "Anonymous Access" turned off - setting up a special username and password for it which I give to my selected users.
by: reifen-straub | last post by:
Hi, we have a C# click once application with a report. This report has a reference to an assembly to calculate some things. If we run this application locally with the 'click once' checkbox unchecked, everything works. But if we publish the application and for this automatically click once gets checked, we get the following error message within the report: Error during the local report processing. The definition of the report "main...
by: krach.aran | last post by:
I'm creating a winforms click-once application that is plugin enabled. The application is working, and so are the plugins. but now i have got the following problem: after deployment i do not want to touch _ANY_ file of my deployment, but i have got one directory that contains all the plugins. As soon as the application starts i want to get all these dll's and hook them up to the main application.
by: rkvausi | last post by:
Hi All, Is anybody can help me to find out relation between click once application and web page? I opened one window application from my web page and i want that as soon as I closed that application or click some button then my web page must be refreshed. thx in advance.
by: Max2006 | last post by:
Hi, I am developing a web application on windows XP. A page within my application needs to access to SSRS running on the same machine. Once the web application tries to consume the SSRS web services, I receive the following error: System.Web.Services.Protocols.SoapException: The permissions granted to user DEV1\ASPNET' are insufficient for performing this operation. --->...
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...
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,...
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...
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...
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
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...
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();...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.