C# - How to save user settings

Поділитися
Вставка
  • Опубліковано 31 жов 2024

КОМЕНТАРІ • 132

  • @davitberishvili8062
    @davitberishvili8062 2 роки тому +3

    This example is really very helpful, simply and shortly is described what I vas looking for. Thank you and good luck

  • @salman.akhtarm
    @salman.akhtarm 2 роки тому +2

    This was very close to my requirement & was very helpful.

  • @jonasvillanueva3942
    @jonasvillanueva3942 9 місяців тому

    Im saving using notepad but i searched a video for saving i decided to to do what it was in this video and it work fine. this is helpful than saving in a notepad because i can only access the notepad on my current cumputer but i cannot access it in other cumputer. That is why im your new Subcriber.. I Like Subcribe And turn the notification
    Thanks Alot for this video you deserve more Subs!

  • @VikneshwarSatya
    @VikneshwarSatya 11 років тому +2

    Thanks Fabio for this amazing work. Keep it up buddy.

  • @fengshengteoh3054
    @fengshengteoh3054 3 роки тому +2

    this is truly helpful for me, thank you so much

  • @xaviercomelli
    @xaviercomelli 6 років тому +5

    Just what I needed... thanks for the tutorial!

  • @ivodonckers25
    @ivodonckers25 8 років тому

    Nice short tutorial, helps me further on my project !

  • @Omarhi51llarious4tsxdl1l
    @Omarhi51llarious4tsxdl1l 4 роки тому +1

    Great work. Keep it up

    • @Coffeecupdev
      @Coffeecupdev  4 роки тому

      Join our Discord server to continue the conversation and ask questions:
      discord.gg/T3sMnxY

  • @ashudatt
    @ashudatt 7 років тому

    thank you Fabio....it very very helpful for me..thank you soo much.. keep sharing good stuff....

  • @innoconnecttech
    @innoconnecttech Рік тому

    thanks a lot , it's helpful in 2022

  • @VDani16
    @VDani16 3 роки тому +1

    Thank you very much! Exactly what I needed for my game I coded.

  • @ZeusCheats
    @ZeusCheats 3 роки тому

    Thx man, you helped me a lot.

  • @glenroselle5054
    @glenroselle5054 7 років тому

    Great job on these youtube videos! Very thought out and step by step instructions.

  • @q3killer
    @q3killer 10 років тому

    Finally so how..Tested, all works fine. Thank you man.

  • @michalcejpek482
    @michalcejpek482 8 років тому +2

    Thank you very much :)... That's really improve my programme :)

  • @xNiikoo
    @xNiikoo 9 років тому +1

    Thanks for that easy tutorial ! it helped me a lot !!
    i now use this method for saving the user credentials !!! :D

  • @Jet-Pack
    @Jet-Pack 12 років тому +1

    Thanks for this brief and informative tutorial!

  • @WunderOps
    @WunderOps 8 років тому

    Thanks. I was stuck, and this got me started.

  • @AnnedolfFrankler911
    @AnnedolfFrankler911 7 років тому +1

    Great video. Thank you, it helped me a lot!

  • @per19963
    @per19963 4 роки тому +1

    Thank you very much!

    • @Coffeecupdev
      @Coffeecupdev  4 роки тому

      Join our Discord server to continue the conversation and ask questions:
      discord.gg/T3sMnxY

  • @MrInstigVtor
    @MrInstigVtor 5 років тому

    EXCELENT TUTORIAL !

  • @eonshade6297
    @eonshade6297 3 роки тому +1

    Really cool tutorial, quite usefull.

  • @herrabanani
    @herrabanani 11 років тому +1

    thank you, helped me a lot

  • @domcxz8643
    @domcxz8643 3 роки тому +1

    Thank you :)

  • @brolmr6620
    @brolmr6620 4 роки тому +1

    Thanks for the help

    • @Coffeecupdev
      @Coffeecupdev  4 роки тому

      Join our Discord server to continue the conversation and ask questions:
      discord.gg/T3sMnxY

  • @romanagrimm1
    @romanagrimm1 7 років тому

    thank you very much, it was really easy to understand and helpfull.

  • @PattysLab
    @PattysLab 3 роки тому +1

    Cheers!

  • @lesinat
    @lesinat 8 років тому

    dude.. really helpful. thanks a bunch!

  • @mdwdyx
    @mdwdyx 5 років тому +1

    Thanks!

  • @wageslave101
    @wageslave101 14 років тому +1

    Thanks mate, that was awesome!

  • @ubiracles
    @ubiracles 9 років тому +3

    Ok... but if I have 2 projects... like UI layer and DAL layer... how can I share the same configuration between them, for exemple, a string connection ?

  • @dangngocbinh
    @dangngocbinh 14 років тому +1

    thanks for your tutorial, It's useful!

  • @yahyahoush313
    @yahyahoush313 7 років тому

    Thank You, You are the best!!!!!!!!

  • @yairmagen1750
    @yairmagen1750 4 роки тому +1

    Thats awesome tysm!!!!!

    • @Coffeecupdev
      @Coffeecupdev  4 роки тому

      Join our Discord server to continue the conversation and ask questions:
      discord.gg/T3sMnxY

  • @konligjze2003
    @konligjze2003 5 років тому

    So Helpful, thanks

  • @C0ldWarrior
    @C0ldWarrior 8 років тому

    Very nice, thanx for this! ;)

  • @jugalrajeshbhaishah1528
    @jugalrajeshbhaishah1528 3 роки тому

    Very Much helpful Bro
    ]

  • @matyhovidea8537
    @matyhovidea8537 6 років тому

    You helped me alot :) Thanks :)

  • @MJ12GRAVITON
    @MJ12GRAVITON 8 років тому

    Thanks!, I like your channel.

  • @MonderMurshed
    @MonderMurshed Рік тому

    I love u bro!

  • @BaSs_HaXoR
    @BaSs_HaXoR 11 років тому

    Thanks a ton! :) You deserve more subs!

  • @MxWintersAFOL
    @MxWintersAFOL 8 років тому

    Awesome, Thanks a million :D

  • @Marcompelo
    @Marcompelo 5 років тому

    Excelent!

  • @martinqmtakacs4145
    @martinqmtakacs4145 2 роки тому

    Hi, thanks for this video. I have a question about it. Is possible to save more information, like in excel tab? There will be a button to create new rows and when someone fill some row and save with savebutton, there will be that information after new open that form. How to do it? Thank you much.

  • @TubeBazzDaBazz
    @TubeBazzDaBazz 8 років тому

    Not sure how I got here, but I might be using this in the future so thanks

  • @pangsoradepo7205
    @pangsoradepo7205 8 років тому

    Thanks for you video :)

  • @GlobipediMovies
    @GlobipediMovies 3 роки тому +1

    Thanks.

  • @muhammedrishadk1618
    @muhammedrishadk1618 9 років тому

    really i dnt know how to tell thanks for thiss....its really nice....

  • @juanpablotorres3522
    @juanpablotorres3522 6 років тому +1

    Genius! Thanks!

    • @juanpablotorres3522
      @juanpablotorres3522 6 років тому

      Buddy, one Question! What about if my default value is an integer ??? I mean , my var is an integer and i should read this value to the textbox and save in the default settings...

  • @nobodypersonsomeone
    @nobodypersonsomeone 14 років тому

    Very helpful! Thanks

  • @nicooo3994
    @nicooo3994 5 років тому

    Perfect, thanks

  • @halotyler3
    @halotyler3 14 років тому

    Good tutorial please post more.

  • @cafeine
    @cafeine 11 років тому

    thankssss.. very nice tutorial.

  • @vautek
    @vautek 5 років тому +2

    Great work fine I have been trying to add a checkBox i have not been able to save it I have tried in settings changing the type to bool also any help would be appreciated

  • @arunkumar-ny1qc
    @arunkumar-ny1qc Рік тому

    Really Great

  • @etowadi
    @etowadi 14 років тому

    nice tutorials mehn...do you have any thing on XML user settings ....u the best man....keep it up

  • @IbrahimGuleryuz34
    @IbrahimGuleryuz34 9 років тому

    Hello Fabio,thank you for share your videos.ı want to ask question,ı have project and when ı will be in the form and ı will close application then ı will open my applicaiton again ı want to take my last form.how can ı do this?For example;if ı have form1,form2.. and ı m in the form2 close application and open back ı wanna see form2 .how can ı do this?

  • @DiyintheGhetto
    @DiyintheGhetto Рік тому

    Hello, How do I add a checkbox to the project? If its checked then it saves the information when the button is click. And if not checked then the settings in the properties will be blank so if they click on save and reopen the program it be blank.

  • @scrypto
    @scrypto 9 років тому

    Thank you very much! I'll make this video on Russian )

  • @TheMetroFarmer
    @TheMetroFarmer 11 років тому

    this is great. thx.

  • @felipefurlaneto18
    @felipefurlaneto18 3 роки тому +1

    U saved me

  • @kalilokaliloi4395
    @kalilokaliloi4395 10 років тому

    Thank you

  • @glute
    @glute 5 років тому

    YES! THANO YOU SO MUCH OMFH

  • @SimBoter
    @SimBoter 10 років тому

    very very nice

  • @haneulchu8932
    @haneulchu8932 9 років тому

    Thank you!!!

  • @AdrianGomez-gn7ig
    @AdrianGomez-gn7ig 9 років тому

    Love ya♥

  • @sylviogiraldes
    @sylviogiraldes 5 років тому

    Fabio, onde essa informacao fica armazenada ?

  • @norbertvarga2729
    @norbertvarga2729 7 років тому

    Thanks Bro,

  • @hristomirchev4026
    @hristomirchev4026 4 роки тому +1

    Awesome tutorial but I can't understand how to move the config file in different location?

    • @Coffeecupdev
      @Coffeecupdev  4 роки тому

      Join our Discord server to continue the conversation and ask questions:
      discord.gg/T3sMnxY

  • @MrAnderson342
    @MrAnderson342 12 років тому

    This works, but is there a way to save numericUpDown like this too?

  • @j3st-87
    @j3st-87 11 років тому

    Thanks man!!! :D

  • @oxodrive
    @oxodrive 5 років тому

    *_-AWESOME-_*

  • @kozh4390
    @kozh4390 2 роки тому

    thanks

  • @Шахматыдлявсехикаждого

    Hello, Fabio. Im newbie in C#. I want to ask. I write game and there is user records like amount of wins, lose and draw. It's variables. How can i do so, if those variable changed during game i need write to them new amounts and they must be shown on the next game start?

    • @carson825
      @carson825 8 років тому

      every time it changes update it?

  • @MrAnderson342
    @MrAnderson342 12 років тому

    Hi, I've got this to work, but I can't get it to work for numericUpDown. Is there any way to do this?

  • @croppable
    @croppable 6 років тому

    How do you do it like open a different form...

  • @stevefrt9495
    @stevefrt9495 6 років тому

    Thanks you

  • @aaart1713
    @aaart1713 Рік тому

    How do I save an image?

  • @JarppaGuru
    @JarppaGuru 9 років тому

    Where these settings are stored? if i delete application will settings still some where on my computer like in registery?

  • @Emily-zw9ps
    @Emily-zw9ps 7 років тому

    how to set dictionary in settings?

  • @Omarhi51llarious4tsxdl1l
    @Omarhi51llarious4tsxdl1l 3 роки тому

    How to Save User Settings from Child Class?

  • @zazazautashvili7982
    @zazazautashvili7982 10 років тому

    Non-invocable member 'SaveUserSettings.Properties.Settings.Default' cannot be used like a method... :(

  • @shybester
    @shybester 4 роки тому +1

    Making a blacklist system that blacklists forever unless reinstalled. Hope it works

    • @Coffeecupdev
      @Coffeecupdev  4 роки тому

      Join our Discord server to continue the conversation and ask questions:
      discord.gg/T3sMnxY

  • @minaamir2648
    @minaamir2648 7 років тому

    thanx

  • @marceloxavier1044
    @marceloxavier1044 9 років тому

    Thank you...

  • @concernedcitizen5220
    @concernedcitizen5220 7 років тому

    is the user settings saved in an xml file? what file is it saved in?

    • @helios8369
      @helios8369 7 років тому

      Yes the information is stored in an xml file type.
      The location of the user.config file is
      %userprofile%\AppData\Local
      or
      %userprofile%\Local Settings\Application Data
      And search for your application name

  • @logicchild
    @logicchild 12 років тому

    try to change the type of the setting not to String, try the Int32 or Double.

  • @rl7_slimkat
    @rl7_slimkat 2 роки тому

    Hey look guys its toni cipriani from gta lc

  • @fakename457
    @fakename457 5 років тому

    This is the kind of stuff that should make it into textbooks! But it doesn't...

  • @oyopelao
    @oyopelao 10 років тому

    how can you refresh your form automatically so that you dont have to exit to see the changes?

    • @KareZArtS
      @KareZArtS 10 років тому

      Write a Refresh Method. In this case:
      protected void Refresh()
      {
      button1.text = Settings.Default["Button"].ToString();
      this.text = Settings.Default["Title"].ToString();
      }

    • @donstart4363
      @donstart4363 10 років тому

      Kare'Z Art'S i tried to put protected void refresh() like you did but it give me error ; expected

    • @ricyalol
      @ricyalol 3 роки тому

      @@donstart4363 just add a ; at the end

  • @Perevozych
    @Perevozych 7 років тому

    How to change the directory of the settings file

    • @helios8369
      @helios8369 7 років тому

      You can't.
      You can save information in a text file in temp folder for example. And read it whenever your application needs access to user data.
      Or save information in windows registry. And you can retrieve it with ease.

  • @imlipongen6068
    @imlipongen6068 12 років тому

    thanks its great..... can you add some more vidio about how to add product key ....

  • @dante2047
    @dante2047 6 років тому

    Can you also show how to save user credentials such as user name and password

  • @alitauseef9423
    @alitauseef9423 6 років тому

    savingusersettings namespace not found
    any help

  • @LorenKuich76
    @LorenKuich76 12 років тому

    This guy kinda looks like Omni... -_-

  • @afonsosalbrecht
    @afonsosalbrecht 6 років тому

    Do you speak portuguese? brazilian portuguese? you sound like a brazilian

  • @Pinkcommando1
    @Pinkcommando1 8 років тому

    whelp I am a dummy, cheers

  • @yah9011
    @yah9011 4 роки тому

    But what is saved is not displayed in the settings window of the studio itself. Dislike for wasted time.

    • @Coffeecupdev
      @Coffeecupdev  4 роки тому

      Join our Discord server to continue the conversation and ask questions:
      discord.gg/T3sMnxY

  • @shlomityosifov5083
    @shlomityosifov5083 5 років тому

    Thank you so much!

  • @Eli12Israel
    @Eli12Israel 12 років тому

    Thank you so very much. Helped alot