sorry and...

hi
i need a simple-to-understand tutorial on how to save user settings.

I would like to have a textbox on my form that the user types something in, and the text is saved so it'll appear the next time my application is started.

thank you


Answer this question

sorry and...

  • Sreenaiah

    I'm sorry and it wasn't that bad of a word anyway, Well see this is my opinion, microsoft made express for beginners and hobbyists, sooo you're talking to people that have absolutely no idea (most of the time) what their doing, their trying and they need code, they need to see it, so they understand... I actually am trying to find out how the user can "save, and load" also, I've been searching for three days in every search engine I could find including every possible word that would relate, and nothing... The help in VB 2005 exp doesn't cover much on how to make your program, so the user can save and load, say a text field they typed all it really covers is what it is.

    Now pardon me, but microsoft put this out as a free product to interest more people in developing which in turn would increase their revenue for developing products, you would entice more to buy the product if you were more willing to throw some code out for generic questions such as this. I do plan on buying a book, but this guy and myself could use a little push off in the right direction guys, please have a heart we wanna be able to create good stuff like you do, please.

    Thank You, John


  • TayyaSelby

    IF this person is anything like me, they like human input from any different sources that can change and offer more understanding, the help file is sometimes ***!
  • İbrahim Kökdemir

     

    There is a good one in your HELP file

    Choose Index and enter Application Settings

    The Help file is your friend....

     



  • GS80

     

    hear that.

    But I saw a moderator say something yesterday that I found really interesting. There are several thousand members and only about 30-40  answerers and often we answer to exhaustion.... real exhaustion.

    I have a couple of investments in assisting people here. I try to point them to the best possible resources and I did point this poster to a really good resource to answer the poster's questions. If I spend lot's of time on it, others are being deprived.

     I am committed to users getting their problems resolved. I am also committed to their growth. There is a very real distinction between "help" and assitance. Assistance is more of an investment on their growth and future competence. That's what I try to do in order to assist the most people I can.

    Renee



  • Landolsi Mohamed Amine

  • SeaFire

    hi,

    man i'm suffering the same thing i'm still learning too, microsoft documentation some how short to confuse you, if you don't know something you will suffer with F1 help, you can use help as Details if you need them later on or you forget somthig it will remind you , but in learning its better to buy a book i know its boring to read too much but you can't avoid it. you have to use 4 things to learn i do it myself

    1) if you have an idea for program even if its silly , try to do it and use the following things as just pointers in right direction if you need to

    2) if you have time you can read books and follow it to learn something new

    3) try to follow practical examples like for example http://msdn.microsoft.com/VBasic/Downloads/Code/101Samples/ or this one http://www.codeproject.com/vb/net/ the problem with that kind of samples is that they don't explain things much but if you know language you will figure out the idea

    4) use the help if you forgot something and need reminder if intellisense didn't bring it to you allready during writing your program

    you can always ask here if you forgot a tip or trick and you need more calrification

    hope this helps



  • Rita

    junfanjohn wrote:
    IF this person is anything like me, they like human input from any different sources that can change and offer more understanding, the help file is sometimes (***! <<<i don't think its a good word, bad words are not welcome)

    i just want to add something to what Reneec said this forums are a practical help so ask spacific question about something you trying to do and you failed and i promise you you will get answer, that incourage the ppl here to answer you,

    or even to ask a theoretic question you will get answer briefly because they will consider you know about the topic so they will clarify the tips and trick if there is any

    but to ask How do i don't expect anything more than direction where you can find out the answer yourself becaus msdn or any book can do that even better than what you will get here

    best regards



  • soonerpat

    Cool I figured out a few things so far. Your help is appreciated! Just to let you know I'm gonna put a little bit of code here to prove I found this on my own and I do know how to do it, my question however is now in loading. I've tried various things including snippets, and such, here's how to save. I am not including a section, but the basic part

    Try
    My.Computer.FileSystem.WriteAllText(Me.SaveFileDialog1.FileName, _
    Me.RichTextBox1.Text & vbCrLf, False)
    My.Computer.FileSystem.WriteAllText(Me.SaveFileDialog1.FileName, _
    Me.RichTextBox1.Text & vbCrLf, True)
    Catch fileexception As Exception
    Throw fileexception
    End Try

    Now all I need to figure out is how to make my program capable of reading/opening it. I would appreciate code if you would and if you don't wish to post it my E-mail is junfanjohn@yahoo.com

    I really appreciate your help guys, it's nice to have someone to help when you get in a jam, especially when your new.


  • sorry and...