Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 7th, 2004, 03:51 PM
Goethe Goethe is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Romania
Posts: 3 Goethe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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!

Reply With Quote
  #2  
Old January 7th, 2004, 11:33 PM
cleverpig cleverpig is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2003
Posts: 1,152 cleverpig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via MSN to cleverpig

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > For those who know to modify the Registry from VB


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT