Where Does My.settings Save The .ini File
Jul 2, 2010Where does my.settings save the .ini file?
View 3 RepliesWhere does my.settings save the .ini file?
View 3 Repliesi know about the My.Settings but i need to know how to save all the settings in a .ini Text file for example I GOT A SOURCE :: BUT THE GET SETTINGS DOESN'T WORK || Save settings DOES work
[Settings]
Textbox1=Name
Textbox2=Last
[Code].....
lets say i have a checkedlistbox in my program and i want to save everything that is checked in an xml file so it will be checked again when i start up the program the next time, how can i do this ?
View 6 RepliesI am working on a file explorer, and I want to save the view settings of each folder, like the icon size, font size, ect.. I was thinking of using an xml file to save these settings.
View 1 RepliesHow can I save a few settings to a file for my application? Its just whether the orientation of the document is landscape or horizontal, the zoom level, and the current font. Would an XML file be best?How can I create, write to and read one?
View 12 RepliesI have created a new XML file that save the settings of the application built using visual basic 2008.[code]...
View 3 RepliesI've been trying to create an app with vb 2010. People are able to change settings (through the apps settings screen), then the changes are being saved to a file (the settings are being used in the whole app). Now my question is, what is the best way to save the setting in vb 2010:
XML or INI?
code to upload the my.settings document for my windows forms application on my sever.
View 2 RepliesHow do you save all the settings in a simple code; lets say you have a text box, a checkbox, and a listbox.
In the text box, it lets say you wrote hi
checkbox, you checked it off
listbox, you selected lets say HI from it.
How do you save the settings onto a file? Lets say a .cfg or whatever thats called file. Its like automatic, so that the cgf says lets say says:
NameofCheckBox=true
NameOfListBox=HI
NameOfTextBox=hi
Any way to do this stuff? I've seen some people do it, but they wont tell me how. I dont want to add all this code just to make a file that saves it & reads from it. I know the streamwriter and streamreader, but its a bit complicated.
How do I save my settings in the same folder of my application is in .INI file.[code]And how do I delete the app.config folder in the AppData Local dir?Because what I noticed is.. It creates new folders everytime I release a new version of my application.It doesn't consume much space though but still it creates new folder corresponding to the application version.
View 5 Repliesi have loaded my application settings into 3 text boxes. now if the user changes these, how do i save the new file/folder paths to my.settings? i tried my.settings.save but it does not seem to work.
'Load the current options
Dim MyConnectionString As String = My.Settings.PrimaryConnectionString
Dim MyDefaultImportFolder As String = My.Settings.DefaultImportFolder
[Code]......
I'm trying to create an app to launch at start up that will ask you what applications you want launching, or if you want all your favorite app's to start up etc. But before I go any further, I think its crucial to know how to save settings that a user has entered (such as program location and name in this case) so that he/she doesn't have to enter them every time at start up.
So far I have just made this, can anyone tell me how I would get it to save the settings entered?
Code:
Option Explicit On
Module Module1
Dim name As String
[Code]......
Is there a really simple way to save the app.config file to a location then load it again? I'm making a multiclient app. I was planning on having each user have a folder, and in that folder would be their personalized app.config file that would load when they log in. I don't really know any XML.
View 13 Repliesbefore i use VB6 i was make multiple file for each settings, i try load my VB6 into VB.NET 2008 and code show like this
Code:
FileOpen(1, My.Application.Info.DirectoryPath & "path.ini", OpenMode.Input)
Input(1, home1)
myWeb(X).Navigate(New System.URI((home1)))
[Code].....
so each form load will read ini file, and form close save ini file
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 Repliesi 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 RepliesI'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.
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
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 Repliesin 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.
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 Replies1. 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?
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 RepliesI saw that you can also use a "Settings File" (Add new Item)to add your settings instead of the application settings. But I can't seem to write any values to the file. Someone with experience with the "Settings1.settings"?
View 2 RepliesFor example. I have 5 checkboxes. If a user selects one next time the application is loaded it remembers what is checked
View 5 RepliesHere 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?
How to save the settings that my app uses ? should I use sql, xml , access or any other flexible & easy way.
View 2 RepliesI have a queue that i want to save it to the Settings of the app, what type do i use to save it? I dont see a system.collections.generic.queue
This is the queue Dim dlQueue As New Queue(Of ListViewItem)and the Settings My.Settings.dlQueue
Does anyone know of a good way to save settings in vb.net?
The only way I know how to do right now is to make a registry key with a specified value and call upon it when the program loads up again.
I can't do this though because I have a whole lot of data I have to save.
can you save the data in a notepad and call it line by line to save each feature?
It's just a login form that is supposed to save your connection settings, but it won't save my values; they revert to the previous values every time I run the program. Does the IDE just not save your settings, or am I doing something wrong?
Public Class frmLogin
Private Sub cmdSubmit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSubmit.Click
[Code]....