VS 2008 Save Listbox In My.settings?

Jun 4, 2009

Isit possible to save a listbox in my.settings?

View 3 Replies


ADVERTISEMENT

Save Listbox Items In A My.Settings Code?

May 3, 2009

So, I have created this program and I want it to save the items that can be added into the list box with the My.Settings codes.(So every time I open the program the items will be there)

View 9 Replies

VS 2008 Removing My.Settings - Uncheck The "save My.settings" On Shutdown?

Sep 27, 2009

I set up some application settings for checkboxes on an app and then decided to remove them. When I set the Application Settings to (none) in the designer and restarted the app, the checkbox constantly checks and unchecks itself. I completely remade the app and removed the file that is used to store my.settings in the Local folder of the user's appdata profile. I also made sure to uncheck the "save my.settings" on shutdown.

View 6 Replies

VS 2008 Loading Settings Into A Listbox?

Jun 5, 2009

I was wondering if you guys could help me. I have a web browser made, and now i'm working on coding my favourites system. It is working well, and adds the URL to My.Settings.FavList

My problem is once you've added a favourite then load up the favourites form, it appears. But if you don't add anything, and load up the form, nothing appears. Below I have attached my coding, I hope you guys will be able to help. Also i'm still learning VB, and almost all of this coding was done through me learning myself. So yeah, there may be parts wrong. Form1 - This code is to add the favourite. I don't think anything is wrong with this part.

[Code]...

I know it has something to do with the Favourites_Load, i'm just not sure what to put in. I have literally tried everything. The thing is, I bet it's something simple, and this is a noobie question.

View 7 Replies

VS 2008 : Code To Save Some Settings?

Feb 28, 2010

I created a form and a checkbox with default name in visual basic 2008 as i move mouse wheel, i can choose a picture for background image i can also change the checkbox's forecolor when i press any key on the keyboard and my first problem is i want to save the new background image which i has already chosen as i close my form and so does the checkbox's forecolor,move the checkbox to wherever i like and save this setting?

View 2 Replies

VS 2008 How To Save Specific Settings

Jul 24, 2009

how to save specific settings (IE: splitter bar.distance inside of a split container, listview column widths and positions)

View 5 Replies

VS 2008 Save And Load Settings?

Dec 26, 2009

i try to save sattings and load settings in runtime:to save settings

My.Settings.bodyTxtSize = numericupdown.Value
to load settings
txtBody.Font.Size = My.Settings.bodyTxtSize

[code]......

View 5 Replies

[2008] Save Previous Settings?

Mar 2, 2009

E.g. default setting for serial port after start up is COM1. If user sets COM2 and restarts program, is it possible to store port setting, COM2, other than still start from COM1?

View 5 Replies

VS 2008 Save Settings And Directories On Close For Next Use?

Dec 22, 2010

I've tried my.settings examples and the arn't working such as:

Private Sub Main_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Try

[code].....

View 8 Replies

VS 2008 Save Settings Of Combobox And Add By Number

Sep 9, 2009

I have combobox I need settings saved when user clicks save settings button and I have add by number box I need settings saved on basicly its set on 50 but some users can change value up to 500 so I want it so that can also save settings and thats it

I was thinking adding this but I know it will be wrong

me.combobox1.SaveSettings()
or
me.nudResultsToShow.Settings.Save()

View 10 Replies

Application.Settings VB 2005 - Save Arrays Using The Settings System Object

Jan 14, 2009

I just wondered if you can or can't save arrays using the settings system object. There seems to be no way of entering it at designtime. It seems implied you cannot create new user settings.subobjects at runtime. I'm looking to find the easiest way to save a populated array of PictureBox's. If the only way is a self/custom made/managed .ini file then I need to know so i can start on that but I was hoping to use some of all this phaff in the new frameworks usefully.

View 3 Replies

Application.restart After My.settings.save Doesn't Load The New Settings

Feb 8, 2008

i have created a user setting named 'setmeup' as string, scope = user, value = "magical meow meow!".in my code i access it and assign it a new value like this...my.settings.setmeup = "howdy cowboy!"my.settings.save()application.restart()when the application restarts, i expect the my.settings.setmeup = "howdy cowboy!" but when i check its contents its still "magical meow meow!".but when i use application.exit() instead of application.restart() and manually restart the program, my.settings.setmeup = "howdy cowboy!" which is correct.what must i do? i want to use application.restart() because i don't want the users to double-click the icon again to start the program. i want the program to restart automatically.

View 2 Replies

VS 2010 Save The Treeview Items To Settings (my.settings.history)?

Mar 25, 2011

I'm working with an Treeview and i'm new at it and i have 2 questions.

1. How can i save the treeview items, to settings (my.settings.history)

2. How can i save the treeview items as an TXT or XML file or another exception.

View 13 Replies

How To Save A Forms Settings In Visual Basic 2008

Jan 5, 2010

trying to save the settings in a settings form but every time m setting the settings (when the form is running) then exiting it and then reopening itare the settings that i setted not there Ex : I open form2 by clicking on a button thought form1 and change the settings for example i uncheck a checkbox then do i close form2 and then open it again. And the settings should be saved so the unchecked checkbox should still be unchecked.BUT when i close form1 should the settings be unsaved and go back to normal :)

View 3 Replies

VS 2008 Using Text Files To Save Specific Settings

Jan 29, 2011

i've been busy with a program and it has worked out quite well. The only thing I still want is that it is possible to customize things and save that in a text file. Normally if i want an other background for one day, i need to change it in VB or make a checkbox to do that. if i then restart the program all the settings are lost and i have to set it again. so i was wondering if the program can make a text file and put codes like 1 for theme 1 and 2 for theme 2 etc. in it, then save it and load that file when it starts up again. and is this also possible for a login form? if yes, i can also add a "Create Account" button for my program instead of adding codes in VB.

View 6 Replies

How To Reference Resources To Save In Settings - Visual Basic 2008 .net

May 24, 2012

I'm trying to save a setting that keeps what background image I'm currently using.If it's an external file, there is no problem, i can just get the .location and set it in a String setting to store it.

But, if I want to store an image resource as a setting, how do i do it?I know i can store rawdata, like bitmap information, but then i can't set that type of data to the my.background.

I don't know if the question should be: "how do i reference resources", but the my.resources.resource.methodsList doesnt contain anything that seems to be of use.

View 1 Replies

VS 2008 Background Images - Save The Picture To My.settings Or My.resources

Aug 25, 2010

I'm making a program and in which the user can select a background image from their computer, but I have not found a way to save the picture to my.settings or my.resources

View 3 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

VS 2008 3 Listbox Save .txt File

Oct 6, 2009

i have 3 listbox and i want save .txt file please suggest.[code]

View 7 Replies

VS 2008 Save All Items In The Listbox To A .txt File?

Sep 25, 2011

i have a button and a listbox. I would like to click the button and it will popup with a save file dialog and then save all items in the listbox to a .txt file.

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

VS 2008 Save Toolstrip Dropdown Items In Listbox?

Jan 31, 2008

I added a setting in my.settings, the setting is a listbox, and I know you can put controls in a listbox, but for some reason it will not let me add a toolstripmenuitem to the listbox in my settings. Is there a fix to this?

View 5 Replies

VS 2008 - Save Data In A Listbox With Dialog Shows Extensions

Apr 3, 2010

how do i save everything thats in a listbox and save dialog shows extensions like .txt .text .html .htm .url types and it writes to where you save it too also check path files would be awesome.

View 7 Replies

VS 2008 Retrieve The Selected Items In A Listbox - Save Them To A Collection

Jan 6, 2010

I want to retrieve the selected items in a listbox, save them to a collection, and then use that collection later. I thought that was simple enough, but when I clear the selected items in the listbox, my collections (items, indices) change. I found this out by stepping through the code.

Basically what I'm wanting to do is move items in the listbox up or down (up in this case), and still keep them selected.

[Code]...

View 8 Replies

VS 2008 Sort Listbox, Save Items And Delete After Date

Apr 13, 2012

I am making some kind of calendar where I can add tasks, so I can easily organise my tasks. For it to complete, I have 3 things I can't figure out how to do it:

1. When I launch the program, I want the items in my listbox to be sorted alphabeticly.

2. I want to save the items in the listbox, so if I close the program and reopen it the items are still saved in the listbox.

3. The items in the listbox all start with a date, fe. "13-4" for today. If that date already passed I want that item to be deleted.

View 3 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 2008 Settings Are Read From App.config Instead Of Settings-file

Oct 30, 2009

I have created a settings-file for my plug-in-based app. When the mainApp writes the settings to the file, the pluginApp should read the settings from the settings-file (when opening or at runtime even better), but somehow it reads the settings from the app.config-file. This means that the pluginApp never will read the settings according the values of the file.

View 4 Replies

Best Way To Save Settings?

Jul 4, 2009

For example. I have 5 checkboxes. If a user selects one next time the application is loaded it remembers what is checked

View 5 Replies

How To Save Settings

Mar 17, 2011

Here is my code as I have it

Code:
Public Class Form1
Dim OpePro(7) As String
Dim FN As String
Dim NPB_1 As Button

[code]....

How do I save the new buttons and their properties?

View 14 Replies

How To Save Settings In .net

Feb 23, 2011

How to save the settings that my app uses ? should I use sql, xml , access or any other flexible & easy way.

View 2 Replies







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