Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[Help] Designing Web Browser

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
msplayas
Advanced Cheater
Reputation: 0

Joined: 01 May 2007
Posts: 59
Location: Wausau, WI

PostPosted: Mon Sep 22, 2008 8:25 pm    Post subject: [Help] Designing Web Browser Reply with quote

I made a simple web browser program in VB and would like to add a socks proxy feature to it. Since I have just started VB I wouldn't know where to begin. I'm not looking for spoon feeding, but rather just an insight as to how a person would go about doing this. (My school's Lan Settings are locked for IE and Mozilla and there web site filter is on the server, which is the newly locked default for the Lan settings.) Any help would be appreciated plus credits for whomever shows me how.
_________________
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Cryoma
Member of the Year
Reputation: 198

Joined: 14 Jan 2009
Posts: 1819

PostPosted: Mon Sep 22, 2008 10:11 pm    Post subject: Reply with quote

I would probably just add a shortcut to proxy.org in the browser.
OR, you could go about creating a proxy (or use Mychilli's on mi-ban.net) and activate a searchbar.text into the proxy site, sorta like making a google search engine but not google.
I think.
This is completely theoretical.
Back to top
View user's profile Send private message
pkedpker
Master Cheater
Reputation: 1

Joined: 11 Oct 2006
Posts: 412

PostPosted: Tue Sep 23, 2008 1:06 am    Post subject: Reply with quote

Your internet explorer browser thats used in VB6 reflects your computer's internet explorer browser.

So if you change socks in your internet explorer your vb6 one will change too..

Now what you are asking to do is not impossible but will require a few SendMessages() get a pattern of messages using Spy++ on internet explorer like a message to click Tools a message to click Internet Options..

when your program is complete it will have to be a hybrid of a internet explorer opened out side it and inside it.. which pretty much will be a hard looking setup..

Haha don't worry it won't be a Hybrid I found a way to do.. since it reads proxy settings of registry your in luck all you gotta do is edit registry settings. Here is a complete proxy using method


Code:

Private Sub ChangeIESettings(ByVal strProxy As String, ByVal enable As Boolean)
dim RegKey
Set RegKey = CreateObject("WScript.Shell")
' to enable and set proxy in IE to variable strProxy
' the string is in format 'IPofProxy:port' --> '192.168.1.1:8080'
' or 'NAMEofProxy:port' --> 'proxyserver.com:8080'
' and enable variable is true
' to disable use of proxy, set enable to false
If enable = True Then
   sf.RegWrite "HKEY_CURRENT_CONFIG\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyServer", strProxy
   sf.RegWrite "HKEY_CURRENT_CONFIG\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyEnable", 1
Else
   sf.RegWrite "HKEY_CURRENT_CONFIG\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyEnable", 0
End If
End Sub

_________________
Hacks I made for kongregate.
Kongregate Universal Badge Hack: http://forum.cheatengine.org/viewtopic.php?p=4129411
Kongreate Auto Rating/Voter hack: http://forum.cheatengine.org/viewtopic.php?t=263576
Took a test lol
Back to top
View user's profile Send private message
msplayas
Advanced Cheater
Reputation: 0

Joined: 01 May 2007
Posts: 59
Location: Wausau, WI

PostPosted: Wed Sep 24, 2008 5:34 pm    Post subject: Reply with quote

So, how do you implement this script into a Windows Application?
I am using Visual Studios 2005 and it gives me an error with "sf."
What I am trying to accomplish is to make a Check Box that when
clicked enables use of a socks 5 proxy that I have placed as a
variable in my program.

_________________
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
pkedpker
Master Cheater
Reputation: 1

Joined: 11 Oct 2006
Posts: 412

PostPosted: Thu Sep 25, 2008 6:29 pm    Post subject: Reply with quote

oh sf has to be RegKey

RegKey.RegWrite..

etc..

but idk if it will work in VB 2005.. its made for vb6 maybe i could find one for VB.NET 2005 as well

found one..

Code:


My.Computer.Registry.SetValue("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings", "ProxyEnable", 1)

My.Computer.Registry.SetValue("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings", "ProxyServer", "proxy.proxyserver.com:8080")


_________________
Hacks I made for kongregate.
Kongregate Universal Badge Hack: http://forum.cheatengine.org/viewtopic.php?p=4129411
Kongreate Auto Rating/Voter hack: http://forum.cheatengine.org/viewtopic.php?t=263576
Took a test lol
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites