Results 1 to 13 of 13

Thread: I found the Proxy Setting, BUT!

  1. #1
    rsitogp
    Guest
    I found the proxy setting but how can I set/retrive it

    "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections"

    is the setting, can someone tell me how to set & retrive it?

  2. #2
    Hyperactive Member Pozzi's Avatar
    Join Date
    Feb 2001
    Location
    The Stones!
    Posts
    507
    Have a look at this link: -

    Have a look at the RegSettings sample.

    Hope this helps?

    Regards

  3. #3
    rsitogp
    Guest
    Thanks, but I can't get it to work.

  4. #4
    Hyperactive Member Pozzi's Avatar
    Join Date
    Feb 2001
    Location
    The Stones!
    Posts
    507
    You'll could try and change the following: -

    Code:
    ' ********************************************
    '  Private Methods
    ' ********************************************
    Private Function SubKey(Optional ByVal Section As String = "") As String
       ' Build SubKey from known values
       SubKey = "Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections"
       If Len(Section) Then
          SubKey = SubKey & "\" & Section
       End If
    End Function
    If all else fails try posting in the General?

    Regards,

  5. #5
    Hyperactive Member Pozzi's Avatar
    Join Date
    Feb 2001
    Location
    The Stones!
    Posts
    507
    Further to my last...

    You'll also need to change: -

    Code:
          nRet = RegOpenKeyEx(HKEY_LOCAL_MACHINE, SubKey(Section), 0&, KEY_ALL_ACCESS, hKey)
    Where it makes the reference to HKEY_LOCAL_MACHINE to HKEY_USER\.DEFAULT

    Regards

  6. #6
    rsitogp
    Guest
    hkey_users\default\software\microsoft\windows\currentversion\internet settings\connections

    DefaultConnections

    Thanks.

    (I get "<")

  7. #7
    Hyperactive Member Pozzi's Avatar
    Join Date
    Feb 2001
    Location
    The Stones!
    Posts
    507
    Is 'DefaultConnections' another key from ...\internet settings\connections?

    If it is then you'll need to add that to: -

    Code:
    ' ********************************************
    '  Private Methods
    ' ********************************************
    Private Function SubKey(Optional ByVal Section As String = "") As String
       ' Build SubKey from known values
       SubKey = ".DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections"
       If Len(Section) Then
          SubKey = SubKey & "\" & Section
       End If
    End Function
    For example

    Code:
    ' ********************************************
    '  Private Methods
    ' ********************************************
    Private Function SubKey(Optional ByVal Section As String = "") As String
       ' Build SubKey from known values
       SubKey = ".DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\DefaultConnections"
       If Len(Section) Then
          SubKey = SubKey & "\" & Section
       End If
    End Function
    It might help if you do a screen print of the structure in Registry Edit showing the values, I colud then re-create them on a machine here as I haven't got them.

    Let me know.

    Regards

  8. #8
    rsitogp
    Guest
    I think I'm an idiot, I just can't get it to work, it's a key, have a look in your reg

  9. #9
    Hyperactive Member Pozzi's Avatar
    Join Date
    Feb 2001
    Location
    The Stones!
    Posts
    507
    I have and I haven't got it just what's attached...

    Are you still getting back "<" ?

    Regards

  10. #10
    rsitogp
    Guest
    empty.

  11. #11
    Hyperactive Member Pozzi's Avatar
    Join Date
    Feb 2001
    Location
    The Stones!
    Posts
    507
    Try again

  12. #12
    Hyperactive Member Pozzi's Avatar
    Join Date
    Feb 2001
    Location
    The Stones!
    Posts
    507
    And again?
    Attached Files Attached Files

  13. #13
    rsitogp
    Guest
    Thanks For all the help Pozzi!

    I'll start a new post soon.

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