|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
For those who know to modify the Registry from VB
The main problem is:
I can not modify the Registry like Internet Explorer does. Example: (althought this is the problem that interest me): Lets say that i have a internet connection by Dial-Up named "Net" Eu want to modify form Registry the settings that the Internet Explorer makes when i set this dial-up connection to use a proxy. I've noticed that there are the folowing modifications: 1. At HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections : Binary Value Net ('that is the Dial-Up connection made by me) Net REG_BINARY Data: 0000 3C 00 00 00 01 00 00 00 <....... 0008 03 00 00 00 0A 00 00 00 ........ 0010 31 2E 31 2E 31 2E 31 3A 1.1.1.1: 0018 38 30 00 00 00 00 00 00 80...... 0020 00 00 00 00 00 00 00 00 ........ 0028 00 00 00 00 00 00 00 00 ........ 0030 00 00 00 00 00 00 00 00 ........ 0038 00 00 00 00 00 00 ...... I would like to know how to midify this values using Visual Basic 6.0 condering the fact that the Internet Explorer had created them when I had seted on the Dial-Up Connection "Net" to use the proxy "1.1.1.1" on port "80" I tried in many ways using the latest API Functions but I can not put the settings in the exactly way the Internet Explorer does. 2. At HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings: String Value ProxyServer ProxyServer REG_SZ Data: 1.1.1.1:80 This is simple to modify and I realised it. I repeat that the main problem is to modify the REG_BINARY and REG_DWORD Values DWORD Value ProxyEnable ProxyEnable REG_DWORD Data 0000 01 00 00 00 .... (this when I right-click on Modify Binary Data) 1 (on Hexadecimal and on Decimal - this when I right-click on Modify) 0x00000001 (1) (this apear in Registry Explorer) This are my main questions. I would apreciate very much if you coul show me the way of an Excellent Registry Modification. I use Windows XP with SP1 (I think this is also important). Thank you in advance! |
|
#2
|
|||
|
|||
|
Give a thread:http://www.freevbcode.com/ShowCode.Asp?ID=4732
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > For those who know to modify the Registry from VB |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|