.net - Click-Once Deployment Overwriting User Settings?

Feb 4, 2010

Click-once deployments are suppose to maintain user settings, but on this one application we have the user settings are overwritten to the Visual Studio default every time we publish an update.

View 2 Replies


ADVERTISEMENT

C# - User Settings Keep Resetting To Default After Each Deployment?

Aug 18, 2009

My deployment of upgrades to an application written in C# (.NET 3.0) consist of simply replacing an older .exe with the new one. Because that older version can currently be used by some customers, I simply rename the old version to blahblah.exe.old and copy the new one to the same folder. When the user opens up the application again, the new one loads up.

The problem is, every time I deploy a new version, the user scope settings are always reverted back to the default values.

View 1 Replies

Change User Settings In ClickOnce Deployment?

Apr 27, 2010

I have a program, written in VB 2008, that I deplpoy in Terminal server, that has some user settings (scope: user) that I'd like to modify locally. By default the user settings were not even installed locally. I think they are supposed to appear in the ClickOnce data directory. Using the following thread, I was able to get the user.settings installed locally:

[URL]

basically, i set my xml file as "Content" and I set the publish status as "Data File".

With this, my settings file appears in:

"C:Documents and SettingsusernameLocal SettingsApplication DataCompanyXYZProgramNameL.exe_Url_arzmal0maveh1nnwfib245pfk13xqfma1.0.0.0user.settings"

The problem is that modifying this file doesn't affect the application. I changed some settings, restarted the app, and changes were ignored.

View 1 Replies

ClickOnce Overwrites User Settings Settings .NET 2008 Cant Use Registry UAC Causes Error

Aug 5, 2009

I am rewritting my application to conform to ms standards. We used to save all settings to registry for user settings, servername, size and locations.so we are now saving them into My.Settings app.config the only problem is that each time there is an update clickonce will isntall the newupdate but now all settings are loist and user has to save everything all over again..

I am trying to follow the book here but it seems i keep getting stuck somewhere. registry has worked fine for years but i understand we must move on, but if stuff like this happens then i just wasted a long time converting all code to conform for it to not work..

View 1 Replies

VS 2010 - My.Settings - Can't Find File Which Reflects Changes To User Settings

Apr 15, 2011

1. I can't find the file which reflects changes to user settings. This might be because I just can't find it (I can see a bunch of user.config files but they are all empty - weird!), or...

2. I'm not actually saving them when I think I am.

Regarding 2. - do I need to invoke

Is this all I need? And if so, why are my user.configs empty?

View 1 Replies

Initialize A My.Settings Value In A Visual Basic Deployment Project (VS 2008)?

Oct 15, 2009

Is it possible to initialize a My.Settings value in a Visual Basic Deployment Project (VS 2008)? I can add the Radio Button Dialog to prompt the user, but I don't see how to use that to set the My.Settings value.

View 1 Replies

Winforms - Losing My.Settings" With Each New ClickOnce Deployment Release?

Nov 9, 2009

I am using the built-in My.Settings functionality in VB.NET to save application settings.

This is very convenient but I notice that each time I release a new version, the settings are lost.

Why and how can I prevent it?

View 1 Replies

Deployment Other Than Click-once

May 14, 2011

does VB2010 express offer a different deployment than Click-Once?

On the MSDN help pages i did not see any of the items that were described when using File->Add-New Project.

View 3 Replies

IDE :: Click Once Deployment?

Jul 7, 2009

IDE :: Click Once Deployment

View 1 Replies

Reset User Settings In My.Settings?

Jun 29, 2010

how to reset user settings in My.Settings to the default value, because when i checked if the user settings works i have altered the settings so now i want the settings to go back to default, because i am going to distribute the software.

View 1 Replies

Save User Settings Using My.Settings?

Jun 8, 2010

how i can save user settings in vb.net

i have a project with different buttons when a user clicks a button the image of PictureBox1 will change.

i want to save this image that the user has chosen after he closes the application, so it will be displayed in PictureBox1 when loaded.

i am using Microsoft Visual Basic 2010 Express

the languge is VB

View 5 Replies

Save Application Settings But For USER But Cannot Find The User.config File

Aug 7, 2009

in vb.net i am trying to save application settings but for USER but i cannot find the user.config file

when does this file get created?

i searched my entire hardrive. i also searched the entire project.

View 2 Replies

Select The Installation Directory Using Click Once Deployment?

Jul 20, 2009

I have developed a WinForm app using vb.net. The app needs to send an email notification to users containg the id of an item that needs thier attention. The email needs to contain the link and commandline parameters so that the user can clik on the link and the app will open the correct form, with the item to be updated, already loaded. Click Once installs the app under the users directory ("Documents nd setting\%USERNAME%Start MenuPrograms\%AppName%..."), so, the email has to contain the user name as part of the path.

- How can click once be configured so that the instalation is in the program files directory to avoid having to add the username as path of the path?
- how do send a link which contains a parameter that directs the app to load a speciified form (not the startup form)?

View 4 Replies

Use One Click Deployment Feature Visual Basic 6.0?

Sep 23, 2009

Can we Use One Click Deployment Feature Visual Basic 6.0

View 3 Replies

Application For User - Run As The User And Preserve Individual Settings

Jun 5, 2010

I am attempting to create an application in an attempt so it could be run as the user and preserve individual settings, by this what i am trying to achieve is when the application is installed, it is installed once but each user has their own settings saved within their own profile - a bit like Office applications. How could i start with this?

View 8 Replies

Click-once Deployment - Additional Files Required In Package?

Jan 9, 2009

Hi, can anyone help me with a click once deployment query?I have packaged an application, using Click Once - it all works absolutely fine, with the exception of some files I need on the C: drive. For example: My application populates an Excel.xlt template with data, using an export function. The path of the template is c:program filesaem
eport.xlt

If the application is packaged, there is no option that I can see where you can include this template and the path to the file. The only way around it is to manually copy the template (and half a dozen other files in the same folder), after the click-once deployment - but this kind of defeats the object.

View 2 Replies

Determine Location To Install Software With Click Once Deployment?

Apr 7, 2010

I would like to make sure that my application is installed in the correct location on the hard drive or allow the user to determine the install location.

View 2 Replies

Modify The Applications Configuration After Deployment Without Having To Recompile (click Once)

Oct 22, 2009

I'm using vb.net and the my.settings interface. I don't fully understand how to properly modify the applications configuration after deployment without having to recompile (click once). I've tried going into the app files and modifying it there but it doesn't seem to change in program. I'm just trying to find a good way to handle settings and My.Settings.

View 2 Replies

Possible To Use Some Free Available Online Accounts To Publish Click Once Deployment

Jan 27, 2009

I am wondering if it is possible to use some free available Online Accounts to publish Click Once Deployment and then be able to access these accounts for updates.

View 1 Replies

Save A Collection Of Key/value Settings In My Application's "user Settings"?

Apr 14, 2008

I'm trying to save a collection of key/value settings in my application's "user settings" (they're column widths), but while I see no errors, when I run the code (in the IDE) my collection in "My.Settings" is always nothing at startup. I do a "My.Settings.Save" when the application exits, and barring the "serializers not found" errors in the IDE, no other errors occur. When I run my application as an exe, it behaves the same way..

View 7 Replies

Deployment - Installed By Admin, Won't Run For User

Nov 16, 2009

I think this has to do with a third party OCX control. Below is the output when the application starts. When I install my application on a stand-alone PC or most PCs in a networked environment it runs fine. When I go to some offices that have very tightly controlled networks I have problems.

The set up won't run under the user name so someone from IT must log in as administrator. They run the set up and the application installs and runs fine. The IT person logs off and the user tries to run it and the application won't even start. An error box appears and below is the report. SCANNERLib.DLL is the third party control. Maybe there is something I'm missing when I compile. Maybe the DLL registering funny under the Admin rights. [Code]

View 2 Replies

Active X Control - Click Event - User Has To Double-click On Button In Flash Movie

Mar 23, 2009

I have a vb.net application that uses Flash movies (AxShockwaveFlashObjects.AxShockwaveFlash). I have buttons in the flash movie. When they first start using the application, they can single click on the buttons in the flash movie and button responds accordingly. But after a while (and I haven't been able to pin-point an exact thing that changes it or my issue would be solved), the user has to double-click on the button in the flash movie for them to work.

View 2 Replies

Deployment :: Enable User To Define Install Location?

Jul 26, 2009

My freeware program launches 50 freeware programs and provides a guide for PC maintenance and health. As mentioned in another post, my program was reviewed on Sofpedia. One thing the Reviewer criticized was the fact that my program requires the user to install these 50 programs in the default locations (usually C:Program Filesx). The reviewer thinks it would be best if the user can install to any location he/she desires and my program be able to point to the proper location when launching the application.

View 10 Replies

Deployment :: User Error When Writing To Shared Drive?

Feb 24, 2009

I have create a vb.net app that creates an excel spreadsheet. When I deployed the app, to the shared drive, I have no problems but the user gets the below error. The user can create the spreadsheet but gets the error when writing. When the user logs onto my PC, the user does not get the error. When I log onto the users PC, I got the error. Application attempted to perform an operation not allowed by the security policy To grant the application the required permission, cintact your local system adminsitrator, or use the Microsoft .net framework

request for the permission type 'System.security.permissions.securitypermissions mscorlib
version 2.0.0.0 culture =neutral
Publickeytoken='b77a5c56193e089'

I have tried to use caspol but it doesn't help?

View 1 Replies

Passing In User Settings

Sep 15, 2010

I have an application that uses user settings and I have a button that gets a value (long) and writes this in a textbox I then have a setting called StoredKey with the data type of long I then pass this to the setting like this:my.settings.StoredKey=cLng(textbox1.text)this all works well in debug, but when I deploy my application and try to store the value in my.settings.StoredKey the value never gets written in!by deploy I mean packaging the exe in a setup and deployment project type and performing the wizard install to c:program files.[code]

View 1 Replies

User Settings Not Working?

May 16, 2012

So, I've created a form that allows for the user to save his or her settings after closing it. When using Visual Basics to run the program, there is no problem and it works wonders.Here is the problem.When I run the program not in Visual Basics, when I go to open the form, it fails. At first, it was because I didn't update the configuration file to include the new settings. Which was dumb, of course, but I updated the file and made sure to put it with the program.

View 2 Replies

Click The Import Button, Open Multiple Files (done) Then Save Them As A Settings

Apr 27, 2012

I want it to do the following: When they click the import button, open multiple files (done) then save them as a settings. Then on form load, open those files so I do not have to re-import them!

I have tried this

CODE:

on form load and settings.txt included 2 file names and locations. It is only opening the 2nd file NOT the first. How can I make it open ALL files in that settings file? I also tied ReadLines

View 1 Replies

.net - NumericUpDown.value Is Not Saved In The User Settings?

Nov 23, 2011

I have a NumericUpDown Control on a form. In the Application Settings / Properties Binding, for the value parameter, i can't select my USER setting called : Heures (Integer / User).

[Code]...

But it's not saved.No problem for other settings (String / User). But i don't understand why the settings (Integer / User) are not saved.

View 1 Replies

.net - Persistence Of User Scoped Settings?

Jan 22, 2012

I have a Boolean, user scoped setting. I access it through a referenced class library, called Settings. This class library has a Module with properties:

[Code]...

While the code is running this works. But after a restart of the application the new value is not persisted.

View 2 Replies

Reading And Writing Various User Settings?

May 18, 2011

I'd like to know if there's a better way to read/write various user settings to disk. My program loads up a bunch of settings during load but also during execution from a few different forms, encrypted string values, boolean values, different types. The code seems to work okay but I have a feeling it's just not the best way to be doing this. Some of the settings are encrypted strings that have to be decrypted/encrypted so the code to read/write the text file is a bit different on some items. The data read from disk usually goes to a public string, a textbox, or a up/down type control. Below is about 1/10th of the settings that get loaded/written at various times. Anyone have a better way that might be more efficient that I should look at?

[Code]...

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved