Convert VB6 into Javascript

I have a VB6 source code file of 2310 lines long ( including comments), to be converted into Javascript. There are also 16 datafiles in XML format that are used by this code.

The code's purpose is to create a speakable sentence that says what holidays happen today. The datafiles contain information about when those holidays occur. It also appends to the sentence some other features like commenting on what day of the week it is, whether it's daylight savings time, whether it's TGIF friday, and things like that.

Your job is not expected to make it speak. You job is only to create a sentence that the function can return.

You will not be receiving the entire VB6 project, nor the entire javascript environment that can speak sentences. You will only receive just the pertinent files regarding dates. So you won't be able to test the output in the intended environment. Instead, it's up to you to test it in a different way, like in a webpage or a javascript sandbox like jsfiddle.

The VB6 code is simple linear functions, NOT object-oriented, and I want the Javascript to be in the same style. I hate object-oriented anything. The VB6 code uses some global variables, and the Javascript can use globals too.

For Javascript comments, I like // style.

If the VB6 uses IF..ELSEIF..ELSE, then let the Javascript use that too. Don't re-shape those into Switch Case or arrays or other fancy tricks.

Keep the functions in approximately the same order. Don't embed functions within functions.

The VB6 makes a simple "datestamp" from month and Day, like 0214 is February 14th. Don't discard that approach to substitute a different method. Just use it like that. It may bother you to not use a different way of matching dates, but just do what I ask.

Read the XML files the same directory as the javascript will run from, or from a /Holidays/ subfolder.

The call to function "AddQueue" would speak the sentence, but that won't exist in your code, so substitute a way to display the sentence as text. I will change it to use speech later.

Make sure your work has at least as many comments as the VB6, and more is better.

Skills: Javascript, Visual Basic

See more: VB6 Job, today in javascript, test a javascript, java, javascript, visual basic, css html5, algorithm, speech on anything, speech about anything, javascript today, convert c to javascript, better javascript, vb convert word doc table html table tagging, vb convert string md5, vb convert pictures video, vb convert php, vb convert images vide, vb convert file dat cobol excel, vb convert binary string ascii string

About the Employer:
( 157 reviews ) Edmonton, Canada

Project ID: #9877035

Awarded to:


Hello, client I have read your job post carefully and was excited with feeling to satisfy you in this project. I have rich experience in VB6 and javascript. I can start immediately and complete within 3~4days. Tha More

$25 USD / hour
(0 Reviews)

8 freelancers are bidding on average $23/hour for this job


Hello, sir. I am very interested from your project. I have enough skills for your project. I'm TOP 6TH freelancer as you can see my profile ( Kind Regards

$25 USD / hour
(122 Reviews)

Hello, I have 9+ years of extensive experience in Web technologies & am proficient in dealing with development, modification and troubleshooting of scripts and applications consuming both VBScript and Javascript. Ad More

$16 USD / hour
(18 Reviews)

I have a VB6 source code file of 2310 lines long ( including comments), to be converted into Javascript. There are also 16 datafiles in XML format that are used by this code. The code's purpose is to create a speaka More

$25 USD / hour
(10 Reviews)

Hello , I am very good at VB and also I know JavaScript So will be able to understand the code and translate it .. can work with team or alone ... if you have documentation for this project that will help otherwise More

$18 USD / hour
(8 Reviews)

Dear Sir, I am having more than 12 years experience of working as a developer and having a great exposure of VB6.0 and javascript.I believe in quality and client's satisfactions. I am waiting for your most valuable More

$16 USD / hour
(5 Reviews)
$40 USD / hour
(1 Review)

Hi. I've read your description carefully. If VB6 source work correctly then there is no problem to me. I'll be very happy if you give me a chance to discuss with me on this project. Thank you./

$22 USD / hour
(1 Review)

Hello, I am able to complete this task with 100% accuracy I have 3 years experience in vb,vba and development. I have worked with VB6.0 as Front-end VBA Script EXCEL VBA MS Access as Back-end (.mdb) FoxP More

$15 USD / hour
(0 Reviews)

Hello Sir/Madam, We have gone through the details you have provided and we have already worked on a similar project before and can deliver as u have mentioned and would be pleased to work on this with you to deliver th More

$22 USD / hour
(0 Reviews)