[RESOLVED] Are there My.Settings files?
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: [RESOLVED] Are there My.Settings files?

  1. #1
    Join Date
    Aug 2009
    Posts
    20

    [RESOLVED] Are there My.Settings files?

    In VB.NET - there is My.Settings where you can store information....

    Is there the same in C#? If so, where? I can't find it.

    In VB.NET I create settings strings to hold certain information (username, password, URL's etc...)

    Also, in VB.NET I use:

    My.Settings.url1

    How do you do it in C#?

    thanks

    daveofgv
    Last edited by daveofgv; August 28th, 2011 at 11:25 AM.

  2. #2
    Join Date
    Aug 2009
    Posts
    20

    Re: Are there My.Settings files?

    nevermind.... I found it and how to access it....

    This can be closed.....

    It's in the settings.settings file

    and I would use:

    Properties.Settings.Default.Save();

    to save it.

    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center