Results 1 to 3 of 3

Thread: Savesetting and Getsetting

  1. #1

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428

    Question Savesetting and Getsetting

    Just wondering if I should use those 2 functions? are they in the .NET framework or are they just for VB? Should I use another set of functions instead?


    EDIT: Umm how do I work with this registery class thingie, I cant find exmaples in MSDN.
    I want to just make a folder in the registery for my app and add some stuff in the folder. Sounds like I can make the folder with soemthing like this:
    Registry.CurrentUser.CreateSubKey()

    now how do I add something in that folder?
    and also what's the OpenSubKey() for?

    any help appriciated
    Last edited by MrPolite; Jun 12th, 2002 at 05:40 PM.
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    tnx alot Cander, but I still had some trouble using that. dunno why, but it wouldnt write any values

    I tried this and it works:
    Dim regKey As RegistryKey = Registry.CurrentUser.CreateSubKey("Software\myapp")
    regKey.SetValue("width", width)

    tnx for the help
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

Posting Permissions

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



Click Here to Expand Forum to Full Width