I am doing a Management Science project at Uni. I have to programme a carbon emission calculator using proxy values and some input variables.Basically, 4 inputs: seize of ship in container capacity (categorized in 9 classes), distance, Fuel type used (2 types), speed (if known).How can I match the input variables with the proxy data values? Lets say someone inputs 2300 as container ship seize, the programme needs to know which proxy value to use from all the different seize categories (as it could have been 5300 or 7450). A certain ship seize class has a number of proxies (atributes). For example power installed, design speed, av. container capacity. (Classes are ranges, i.e. from 1000 to 2000 containers = class 1, 2001-3000 = class 2 etc.)The same principle applies with the other input variables except for distance. Speed only should be considered if it is known, otherwise the programme has to use proxy data as well.
In short, it is a calculator which, depending on some input variables, estimates carbon emissions based on proxy data. The problem I have: How do I let the programme know, if a certain ship category/speed is selected (inputted), which proxies the programme has to use. The rest is just a matter of adding/subtracting/multiplying/dividing the proxies and the input data to calculate the emissions.
I am doing a Management Science project at Uni. I have to programme a carbon emission calculator using proxy values and some input variables.
Basically, 4 inputs: seize of ship in container capacity (categorized in 9 classes), distance, Fuel type used (2 types), speed (if known).
How can I match the input variables with the proxy data values? Lets say someone inputs 2300 as container ship seize, the programme needs to know which proxy value to use from all the different seize categories (as it could have been 5300 or 7450). A certain ship seize class has a number of proxies (atributes). For example power installed, design speed, av. container capacity. (Classes are ranges, i.e. from 1000 to 2000 containers = class 1, 2001-3000 = class 2 etc.)
The same principle applies with the other input variables except for distance. Speed only should be considered if it is known, otherwise the programme has to use proxy data as well.
In short, it is a calculator which, depending on some input variables, estimates carbon emissions based on proxy data. The problem I have: How do I let the programme know, if a certain ship category/speed is selected (inputted), which proxies the programme has to use. The rest is just a matter of adding/subtracting/multiplying/dividing the proxies and the input data to calculate the emissions.
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?
I need to get data from IMDB using proxy. I made program which can download data, but the were downloaded on Croatian language because
Dim url As String = "http://www.imdb.com/search/title?sort=moviemeter,asc&start=" & j & "&title_type=feature&year=2010,2010" Dim html, naslov, ocjena As String
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?
I need test data for a IP Subnet calculator I have developed. I have tested some obvious scenarios, and all seems good, but the person developing can often be the wrong person to test. The calculator can do one of two things:
1 - given an existing network and CIDR(mask), and a new CIDR it will create a number of networks with the appropriate number of hosts.
2 - given an existing network and CIDR(mask), and a list of c,h, (c = count, h=number of hosts) it will create the networks.
I can't get it to display the computed values in the label fields when I run the form. I've been through the example code provide to me, my textbook, google (how I found DaniWeb), and I've been over the code probably 50 times and the problem just isn't jumping out at me and it doesn't generate any errors or trigger the try catch, so I'm asking for fresh eye.[code]
I need test data for a IP Subnet calculator I have developed. I have tested some obvious scenarios, and all seems good, but the person developing can often be the wrong person to test.
The calculator can do one of two things:
1 - given an existing network and CIDR(mask), and a new CIDR it will create a number of networks with the appropriate number of hosts.
2 - given an existing network and CIDR(mask), and a list of c,h, (c = count, h=number of hosts) it will create the networks.
I found similar forum thread [URL], but he don't have answers. How I can conncect | send | recive data using tcp connection with specific internet service (not web).
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.
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?
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.
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.
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?
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)
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:
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.
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.
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?
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
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."
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.