Proxy For Network?

Apr 3, 2011

How to make a vb.net application that allows me to play online games using web proxies?

I tried

Private Sub enableProxy()
Dim proxy as new WebProxy("115.160.178.253:80")
WebRequest.DefaultWebProxy = proxy
End Sub

But that only works for httpwebrequests.

View 1 Replies


ADVERTISEMENT

Setup - LAN Keep-alive Proxy - "Home Or Small Office Network" Via The Control Panel To Access The Internet

Apr 15, 2012

I'm trying to setup sort of a LAN keep-alive proxy...Ex.: My Xbox 360 is connected strait to my computer via an ethernet cable. My computer is connected to the internet via a Wi-Fi adapter. Everything works fine and I can access the internet on the Xbox and computer.

Issue: Every time I start my Xbox I have to set up a "Home or Small Office Network" via the control panel to access the internet. What I would like to do is implement a proxy that when I shutdown the Xbox the LAN doesn't give the "Network Cable Unplugged" notification. I wasn't sure if there was a way to make the connection stay open for so long after it should say unplugged. Such as if I need to restart the system and don't want to have to re-setup the network on the computer.

This is my code to retrieve the network info:

Imports System.Net
Imports System.Net.NetworkInformation

Module Module1

[CODE]...

View 4 Replies

Proxy - Passing Data Via College Proxy

Oct 15, 2011

I'm making a application to use in college to retrieve my calendar and other things in VB.NET. But my college uses a proxy so when I connect my laptop I need to change the internet settings in my web browser to view web pages. how I would send requests via a proxy server in VB.NET? Or is there a piece of software that I can download which tunnels all connections or is there a setting in win7 does this?

View 1 Replies

VS 2010 : HTTPWebRequest.Proxy : Set The Proxy For A Web Request?

Nov 24, 2010

I'd like to set the proxy for a web request. However, when I say, for example, request.proxy = "x.x.x.x:xxxxx", it gives me the error "String cannot be converted to webproxy". How can I get around this and actually set the proxy?

View 2 Replies

VS 2008 Network App - Send Message Or Network Package To Some Of The Clients In The Network

Aug 18, 2009

Here is my idea so far: I have a bunch of computers connected in a local network. One of them is a MySQL server, one will have a vb.NET program wich will act as a "second server" and the rest will be different clients. What I want to do is that the "second server" will send out some kind of message or network package to some of the clients in the network, and they will execute a code based on what message it is, or what kind of package it is. I'll give you a simple example:

[Code]...

View 6 Replies

VS 2008 My.Computer.Network.Ping() Cannot See Network Under Windows 7

Nov 18, 2011

I have a .NET 2.0 *.dll that calls My.Computer.Network.Ping(). The *.dll is then run out of an *.exe via AppDomain.CreateDomain() and Invoke(). The problem is that this works just fine under Windows XP but under Windows 7, I get an exception saying that no network connection is available. I tried the Ping() call out of a small console application under Windows 7 and it works just fine.

[Code]....

View 6 Replies

.net - Using A FileStream On A Network When The Network Drops?

Mar 26, 2012

I am writing some code as part of a framework for opening a file.The file is of custom type and should not be opened by more than one instance of my application. To stop multiple file opening I use a filestream to create a lock file and then keep said filestream open. This seems to work in preventing another instance of my application from opening the file ( as it will fail in recreating the lock stream in the files open code ) but if the file is on a network share and the network drops then the original application also can not access the file any more.The code to get the lock stream is as follows:

Try
' We need to keep this stream alive to prevent other applications gaining access to the lock
mLockStream = New FileStream(mLockPath, FileMode.CreateNew, FileAccess.Write, FileShare.None)[code]....

In this I create the lock stream the first time round and then if another application tries to create it, it throws an exception and stops them from getting any further. This is kind of how it needs to work, unfortunately as I said, if this is done across a network and then the network connection is dropped for some reason then I can not delete the lock stream as I get an IOException telling me a process cannot access the file as it is open in another process ( which shouldn't be happening I don't think).

View 1 Replies

Transfer Files From One Computer In One Network To Another Computer With A Totally Different Network

Jun 22, 2011

I have a problem I want to make a server and client where the server is password protected and will make the client display files/folders in a designated folder which will be in the server's current directory and the client will ask what IP and password to connect to and if the password is correct is allows the client to access the files/folders in that folder in C.D. of the server and the client can download any file within the folder by clicking a button, yet don't even know where to start.

View 7 Replies

.net - Proxy With Smtp?

Jan 16, 2012

Private Function SendEMail(ByVal sendTo As String, ByVal subject As String) As Boolean
Try
''# Dim cr As New System.Net.NetworkCredential("me073055", "me271288")
''# Dim pr As New System.Net.WebProxy("172.31.100.25", 3128)

[code]....

I am using the given code to send emails ...i am behind a proxy server..is there any way to give the proxy settings to the smtp client??If not then how do i send emails from behind a proxy server..??These are the settings i need to use to connect to the internet...i need to set this settings in my email client also.

View 1 Replies

Changing IP / Proxy Within VB

Nov 17, 2011

Is it possible to change the computers IP/Proxy within VB I have done some research but have come up empty.

View 2 Replies

How To Set Proxy To Null

Mar 8, 2009

I am using webclient to get and send various information through my vb.net application.All of the code works fine, except that whenever the webclient is used, it seems to lock-up the application (as if its going to crash) but then recovers after it has recieved/send the required data.I have googled around, and apparently i need to set the proxy to null (which is fine because i dont use a proxy anyway) but i dont know how do do this.Could anyone tell me how to set the proxy to null please?

View 2 Replies

Proxy Only For WebBrowser

Jul 6, 2011

Is it possible to set a WebBrowser control to use a proxy connection without changing all the other browsers also changing to that proxy?To clarify, I have an application that is monitoring a website but refreshing often enough during the day that I'm getting "you've made too many requests, please try again later". I'd like to get around that by using a proxy. Unfortunately not all anonymous proxies can be trusted for secure information like credit card information, so I only want to proxy the webbrowser control and not proxy any other non-application browsers.There is a site that explains quite well how to change the proxy (link not included, not certain on whether link posting allowed) but it changes the global settings on all browsers.I've tried to use 3rd party components (ex IPWorks HTTP control) however that doesn't work well with script-heavy sites that load and update dynamically - it only gets the empty skeleton of the page before being populated from the server DB.

View 2 Replies

Proxy With Web Browser

Feb 6, 2009

I want to use Proxy with web browser. I got Code which i found some where in vb forums.[code]Its not Working for me.. Please Help me. Random Proxy is added correctly in Listbox.

View 17 Replies

Set Up To Support One Proxy?

Oct 6, 2011

I am attempting to make a browser. I have it set up to where it can support one proxy. My question, is, How would I make it to where the program would read from a text file, and use those proxies? 1 proxy per line?

View 1 Replies

SQL Query Over Proxy?

Mar 11, 2011

I have an application in vb.net which connects to a remote SQL Server. This works fine. But now I have the problem, that my application has to work in a network with a proxy.

My source-code for the sql query is at the moment:

c.ConnectionString = "server=xxx.xxx.xxx.xxx;uid=User;pwd=Pass;database=DBName; "
c.Open()
da.SelectCommand = (New MySqlClient.MySqlCommand("SELECT * FROM Table_S", c))
da.Fill(dt_S)

View 7 Replies

Use A Proxy IP In WebBrowser?

Dec 9, 2011

code to use a Proxy IP in WebBrowser?

View 2 Replies

Use Private Proxy With VB?

Mar 19, 2012

Right now I'm using:

Dim newProxy As New IEProxy
If newProxy.SetProxy(proxyip) Then
....

[code].....

View 2 Replies

Use Webbrowser With A Proxy?

Sep 20, 2011

I have strProxy and I want to load myurl.com and get the source code.

I've heard HttpWebRequest is the way to go for speed, since I will be loading many different webpages with proxies.

What is the simplest way to load the webpage with a proxy so I can then scrape the source?

View 4 Replies

Using SmtpClient Through A Proxy?

Nov 29, 2011

I've got a vb program that sends an email using SmtpClient. I can't seem to get the message to pass the Proxy server (ccproxy). When sending thru outlook, I set the SMTP server to the Proxy server address, and in the username field I add a #and the SMTP server name following the username. I have tried several differt things here, but to no avail. Here is a sample of how I am trying to send this:

emailuserid = "me@mysmtp.com#mail.mysmtp.com"
emailpassword = "mypassword"
smtpserver = "192.168.0.1"

View 29 Replies

VS 2008 : How To Use A Proxy

Sep 29, 2011

how to use a proxy ?I can use a proxy in vb with a webbrowser or httpwerequest but this not not use the proxy if i open my own browser :/What im wanting is to set a proxy in vb then open my own browser and i will be using the proxy.

View 11 Replies

Webbrowser That Can Use A Proxy?

Nov 5, 2009

I'm restarting a previous project and need to know how to load a proxy from a txt file and choose which proxy to use.

View 3 Replies

.net - Does Not Work WatiN With Proxy

Sep 14, 2010

I've been doing some testing with WatiN lately. For one of the tests I will need to use a proxy to perform the tests. I can set the proxy manually from IE, but I want to do it programatically. In the past I've had success setting proxy for webbrowser control using the code from here [URL] Unfortunately this does not work for WatiN.

View 1 Replies

Access A Website Using Proxy?

Dec 20, 2010

I have no idea how to do this, using a webbrowser in VB(the normal one or, micorosoft webbrowser?)or can this be done using a Webrequest or webclient in VB.net.[code]...

All I want is the website Im trying to visit to think that I visited it with this proxy's IP.I know this is possible because ther are websites where you only type the URL in a textbox and it starts surfing for you like("planetmuffin.com"). How can this be possible on a website and not on Vb.net?

View 2 Replies

Change Proxy Setting Of IE?

Aug 13, 2008

i want to change proxy setting of IE through code.

View 1 Replies

Check Proxy's From Listbox?

Jun 8, 2011

So i have a listbox that i have there for a list of proxies. I have 4 buttons pertaining to it. they are find, load, save and check

I have the first 3 finished and working but i haven't found anything useful pertaining to checking the proxies, the only one that i found took like 6 seconds per proxy so it took a lot of time for a decent sized list.

So how could i make it that on the press of that button, it checks all of the proxies in the listbox and it deletes the slow ones and the ones that flat out do not work. and does this at a decent pace(so it would probably be multi threaded)

and since i can not figure this out i have no code pertaining to this except for the sub for the button click i do not feel there is a need to post code

View 2 Replies

Configure Proxy For A Webbrowser?

Oct 24, 2010

How to configure the proxy for a webbrowser (vb.net)

server has proxy and should login to access internet.

View 1 Replies

Connecting To A Proxy Through Application?

Jul 1, 2011

I think this is the right place to post this...? If not please correct me. this is a picture of my application:Here are my questions:1. I want to make one of the IP and ports in the box to the left appear in the text box on the right when I double-click on one of them. How would I go about doing this?

2. I want the IP and port in the text box to be connected to when I click the button at the bottom, for all internet browsers the user has installed.3. I then want after the button has been clicked and the proxy connected to a pop-up to appear saying "You are now connected."

View 1 Replies

Creating A Proxy For IE (or Other Browsers)

Apr 2, 2011

I'm using VB.net. I need to create an application that sits in between the browser and the actual internet. Basically, I'm creating an online game that will edit some webpages that are incoming so that they contain parts of the game (it's a kind of scavenger hunt). How would I create this?

Does anybody have any ideas for this? I've found nothing online. If you do know something about this, I prefer code examples and not just subjects. I tend to need big pushes in a direction to learn something new.

View 1 Replies

Disable Proxy On RefreshIESettings?

Apr 3, 2011

OK as my title say i am using this code to change proxy

[Code]...

View 1 Replies

How To Access A Website Using A Proxy

Dec 20, 2010

Im trying to access(just as if I really visited that website) using a proxy, so that my real IP doesn't display for security reasons. I have no idea how to do this, using a webbrowser in VB(the normal one or, micorosoft webbrowser?) or can this be done using a Webrequest or webclient in VB.net.

So far I used this code and I dont think it works?:

Code:
Imports System.Net
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

[Code]....

All I want is the website Im trying to visit to think that I visited it with this proxy's IP. I know this is possible because ther are websites where you only type the URL in a textbox and it starts surfing for you like("planetmuffin.com"). How can this be possible on a website and not on Vb.net? It is not neccesary for me to see the website, as long as it thinks I visited it!

I know it should be possible because Ive seen music downloaders in which you can use a proxy for the download.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved