Carbon Emission Calculator With Proxy Data?

Jan 21, 2010

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.

View 2 Replies


ADVERTISEMENT

Programme A Carbon Emission Calculator With Proxy Data?

Mar 31, 2012

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.

View 2 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 2008 Get Data From Web Using Proxy?

Nov 29, 2010

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

[code].....

View 3 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

Test Data For A IP Subnet Calculator?

Feb 5, 2010

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.

View 5 Replies

Revenue Calculator Won't Display Data In Labels

Jun 11, 2011

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]

View 1 Replies

VS 2008 Test Data For An IP Subnet Calculator?

Feb 5, 2010

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.

View 2 Replies

TcpClient.Connect With Proxy Server - Conncect - Send - Recive Data Using Tcp Connection With Specific Internet Service

Nov 4, 2011

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).

View 1 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 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

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







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