Results 1 to 4 of 4

Thread: Reading Color values from registry won't work? Help! [solved]

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2003
    Posts
    58

    Reading Color values from registry won't work? Help! [solved]

    Hello,
    I created some entries in the registry where I want to save my colors.

    It saves it in the registry as

    Name: Background
    Type: REG_DWORD
    Data: ff400000

    When I try to read it with

    regKey = Registry.LocalMachine.OpenSubKey("Software\testprogram\colors", True)
    msgbox(regKey.GetValue("background"))

    I am getting a value of -12345902

    I can't figure out how to get the "ff400000" value
    then the other problem is how can I put it back as a background
    color

    Me.BackColor = "ff400000" won't work..

    Can someone help me with these 2 little problems.
    Thanks so much.

    Perry
    Last edited by mrdutchie; Jul 20th, 2003 at 11:30 AM.

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