In Progress

Turn Java Script into Visual Basic Program

Your project is to use Visual Basic and an existing java script to create a program that reads in a text file, gets the driving distance between two addresses from Google, and writes out a new text file.

The program you write will be run from a Windows computer desktop, not from a website.

I have a java script that uses Google api to calculate driving distance between two addresses in the USA.

See the script here: [url removed, login to view]

The full script scource code is in the html page.

I need to be able to use it as part of a Visual Basic ([url removed, login to view] 2005 or [url removed, login to view] 2008) program.

C:\Maps\[url removed, login to view] is the source data file.

C:\Maps\[url removed, login to view] is the output file.

Source file is comma delimited and has 12 variables:

Day, Time1, Time2, Reference, Address1, City1, State1, Zipcode1, Address2, City2, State2, Zipcode2

Output file needs to be comma delimited with 7 variables:

Day, Time1, Time2, Reference, AddressA, AddressB, Miles

Day, Time1, Time2, and reference will not change from the input to the output.

C:\Maps\[url removed, login to view] sample - read from hard drive

"07/15/11","08:00","08:10","21295461","41 Radley Street","Battle Creek","MI","49017","39 Piper Ave","Battle Creek","MI","49017"

"07/16/11","09:00","10:10","21295592","41 Radley Street","Battle Creek","MI","49017","6324 Norma Street","Fort Worth","TX","76112"

"07/16/11","13:24","14:02","21295626","2265 W. Ina Rd.","Tucson","AZ","85741","1705 S. Stapley Drive","Mesa","AZ","85204"

C:\Maps\[url removed, login to view] sample - write to hard drive

"07/15/11","08:00","08:10","21295461","41 Radley St, Battle Creek, MI 49017, USA ([url removed, login to view]:[url removed, login to view])","39 Piper Ave, Battle Creek, MI 49017, USA ([url removed, login to view]:[url removed, login to view])"."[url removed, login to view] miles"

"07/16/11","09:00","10:10","21295592","41 Radley St, Battle Creek, MI 49017, USA ([url removed, login to view]:[url removed, login to view])","6324 Norma St, Fort Worth, TX 76112, USA ([url removed, login to view]:[url removed, login to view])","[url removed, login to view] miles"

"07/16/11","13:24","14:02","21295626","2265 W Ina Rd, Tucson, AZ 85741, USA ([url removed, login to view]:[url removed, login to view])","1705 S Stapley Dr, Mesa, AZ 85204, USA ([url removed, login to view]:[url removed, login to view])","[url removed, login to view] miles"

I have a maximum budget of $50. Since the fully working java script is provided and all you're doing is writing a program to use it to read and write files, this should be a very, very easy for you.

The finished program should be delivered within 24 hours. I need the work quickly, and I'm sure you would like to be paid quickly also.

No bid over $50 will be considered.

Experience and bid price will be considered.

I look forward to reviewing your bids and awarding you the project.

Skills: Javascript, Visual Basic

See more: writing file java, writing computer code, writing az, writing computer program, visual basic price, visual basic website, easy program net, see computer writing, script writing work, script writing program, maximum price create website, java writing file, java source net, java distance, code source visual basic, basic writing, basic website html code, hours script, java api reference, visual, turn, script writing, java html, java desktop, java api

About the Employer:
( 18 reviews ) Arlington, United States

Project ID: #1141741

Awarded to:

workaholic8

PLease Check PM!

$50 USD in 0 days
(2 Reviews)
2.0

3 freelancers are bidding on average $50 for this job

dhinoja

plz check pm

$50 USD in 1 day
(0 Reviews)
0.0
RALD

hello I can help you

$50 USD in 2 days
(0 Reviews)
0.0