Find Jobs
Hire Freelancers

Add some code to existing VB6 project (IF....THEN Statement)

$30-250 USD

Completed
Posted over 10 years ago

$30-250 USD

Paid on delivery
Hello I have two pretty straight forward Windows desktop programs (written in VB6) which 'process' files (the 'process' is not important) and which have exactly the same Front End (GUI), but each program does the file processing in a different way. I would like to have ONE Desktop program that can do both the processes and which can automatically decide which process to use depending on the result of doing the 1st process method (we can call it the default method) on the file(s) it has to process. I know how to do this, so this is not the challenge or request. The request is to write the code to make the program make these decisions. There are only two main decisions for the program to make and these are pretty straight forward and an easy decision for the new program and should only require some If and Then statements. Here are the new coding details to achieve what I need: We simply run the default process first, i.e. the 'default' method (I will tell you more about this later if you need to know but this is not actually important - the 'process' is simply calling an external executable to run on the files). Once the file is processed the program decides what to do next based on the result of that processes success or failure. So, we run the default process and..... If the processed file size IS less than 60% then CONTINUE with that process as normal,.. (i.e. the process was a success and will END as normal) IF it was NOT a success THEN GOTO 'the other process' (lets call it the 2nd process) and process the file using that process method (i.e. IF the processed file size is NOT less than the original file size by 60% THEN GOTO 'the 2nd process' and use that process to do the job) OR... IF the 'default' process fails with an Exception error (i.e. the file causes the program to generate an Exception error THEN GOTO 'the 2nd process' and use that process to do the job) That's it! I hope this makes sense? Please feel free to ask any questions. I will of course send you all the code you need for the two programs and of course sample files that will cause the desired 'errors' for purposes of testing the new code logic (i.e. a file that will cause the Exception error and one which does not become less than 60% smaller file size), so that you can test that your coding works. So, summary: As I said: all the code to do all the processing works fine, I just need to bring the '2nd process' code (which BTW is just one line) into the 'default process' program code so that it can perform both the processes based on the logic stated above. So we will end up with ONE program that will perform the 'default process' 1st and use the 2nd process if it needs to, i.e. based on the logic above. Thank you. Regards Greg
Project ID: 4685303

About the project

15 proposals
Remote project
Active 11 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi Greg, Revising my bid. Thanks, Ninad
$55 USD in 10 days
5.0 (32 reviews)
5.4
5.4
15 freelancers are bidding on average $97 USD for this job
User Avatar
I can work for you!
$54 USD in 1 day
5.0 (5 reviews)
4.9
4.9
User Avatar
Hi Charlie, Please check the PMB and answer my few questions. Thanks.
$155 USD in 3 days
4.8 (19 reviews)
4.0
4.0
User Avatar
Sir, Please look at your inbox.
$50 USD in 3 days
5.0 (8 reviews)
3.4
3.4
User Avatar
Sr. Software Developer with 4.6 yrs experience.
$55 USD in 2 days
5.0 (5 reviews)
3.1
3.1
User Avatar
Hi, I have sufficient experience to complete this project on time with good quality. Please provide me an opportunity to work on this. Thanks & Regards Himanshu
$35 USD in 3 days
4.8 (12 reviews)
3.0
3.0
User Avatar
Pretty easy, I will have that done in a few hours.
$30 USD in 2 days
5.0 (2 reviews)
2.1
2.1
User Avatar
Hi, VB6 expert here. Please check my feedback and portfolio for VB6 projects.
$55 USD in 3 days
5.0 (1 review)
2.1
2.1
User Avatar
Expert in Java.
$77 USD in 3 days
5.0 (1 review)
1.1
1.1
User Avatar
Hi, let's start now!!!
$55 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have 15+ years of experience in VB2 to VB6 and do this task easily.
$222 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
plz check pmb...
$277 USD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have an idea to implement the IF statements into a simple set of functions. Hope I can work with you on this project!
$35 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi! I'm experienced in Visual Basic (VB6 & VBA) and have good programming practices. KR, Isabel
$78 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Definetly..I can do it as I am expericend in VB,C#,VC++. One more idea is why cant it be written in C# using the same logic..As it is more efficient?
$222 USD in 20 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED KINGDOM
Hamilton, United Kingdom
5.0
114
Payment method verified
Member since May 8, 2005

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.