Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > .NET Languages
You last visited: Today at 10:01

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



VB 2010! Webbrowser & Proxy

Discussion on VB 2010! Webbrowser & Proxy within the .NET Languages forum part of the Coders Den category.

Reply
 
Old   #1
 
Benjihz's Avatar
 
elite*gold: 100
Join Date: Feb 2012
Posts: 2,341
Received Thanks: 207
VB 2010! Webbrowser & Proxy

Hey,
Ich hab nen Webbrowser und eine Proxyliste, jetzt will ich den Webbrowser mit einem Proxy verbinden, also das er dann ne andere IP hat, wenn ich mit ihm surfe. Das is der standart Webbrowser aus VB 10 Express..

MFG
Benjihz is offline  
Old 04/28/2013, 16:34   #2
 
elite*gold: 0
Join Date: Jul 2012
Posts: 284
Received Thanks: 127
Code:
 Public Sub RefreshIESettings(ByVal strProxy As String)
        Const INTERNET_OPTION_PROXY As Integer = 38
        Const INTERNET_OPEN_TYPE_PROXY As Integer = 3
        Dim struct_IPI As Struct_INTERNET_PROXY_INFO
        struct_IPI.dwAccessType = INTERNET_OPEN_TYPE_PROXY
        struct_IPI.proxy = System.Runtime.InteropServices.Marshal.StringToHGlobalAnsi(strProxy)
        struct_IPI.proxyBypass = System.Runtime.InteropServices.Marshal.StringToHGlobalAnsi("local")
        Dim intptrStruct As IntPtr = System.Runtime.InteropServices.Marshal.AllocCoTaskMem(System.Runtime.InteropServices.Marshal.SizeOf(struct_IPI))
        System.Runtime.InteropServices.Marshal.StructureToPtr(struct_IPI, intptrStruct, True)
        Dim iReturn As Boolean = InternetSetOption(IntPtr.Zero, INTERNET_OPTION_PROXY, intptrStruct, System.Runtime.InteropServices.Marshal.SizeOf(struct_IPI))
    End Sub
Benutzung :
Code:
 RefreshIESettings("[PROXY ADDRESS HERE]")
Quelle : = 10 Sekunden Google

Ein anderes Beispiel :
3Angle is offline  
Reply


Similar Threads Similar Threads
C# Webbrowser mit proxy/liste
01/30/2013 - .NET Languages - 3 Replies
Hallo Epvp! Ich hab mir überlegt das ich wieder mit c# anfange und mein erstes Projekt soll ein Webbrowser sein der jedesmal wenn eine seite aufgerufen wird ein neuer Proxy benutz wird. Diese soll er aus einer Liste entweder CSV oder txt auslesen und dann verwenden. Da bin ich noch nicht ganz sicher ist aufjedenfall erstmal die Grund idee. Ich stehe bisher noch total am anfang, proxy is neuland für mich darum wende ich mich an euch :) Bisher spreche ich den Webbrowser über...
VB 2010 , Webbrowser Proxy Frage , Erste bekommt 6 EG
01/19/2013 - .NET Languages - 4 Replies
So der erste der mir folgende fragen als erstes beantwortet bekommt 6 eg für seinen hilfsbereitschaft . Meine fragen : Wie kann ich eine verbindung zu einen proxy server aufnehmen damit der webbrowser über diesen navigiert ? Wie kann ich URLs aus dem Quelltext einer Seite raus splitten ? also zb ich will den link mit dem text google bilder haben. wie kann ich alle cookies von dem internet explorer löschen ?
[VB] Webbrowser mit Proxy´s
03/09/2011 - .NET Languages - 3 Replies
Hallo^^ Wollte makl fregen ob es möglcih ist einen Webbrowser in VB zu erstekllen der sich über Proxys verbindet... die proxy liste ist dann z.b. in einer txt.. Hoffe iohr könnt helfen.. Mfg TerrorTom
[VB08]Help Webbrowser über Proxy
01/23/2011 - .NET Languages - 4 Replies
Hey, ich möchte das mein Webbrowser sich über ein Proxy Server einloggt bloß wie mach ich das?? Bitte helft mir ^^ MfG 'Haseo



All times are GMT +1. The time now is 10:03.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.