Find Jobs
Hire Freelancers

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

$30-250 USD

Selesai
Dibuat lebih dari 10 tahun yang lalu

$30-250 USD

Dibayar ketika dikirim
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
ID Proyek: 4685303

Tentang proyek

15 proposal
Proyek remot
Aktif 11 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
Diberikan kepada:
Avatar Pengguna
Hi Greg, Revising my bid. Thanks, Ninad
$55 USD dalam 10 hari
5,0 (32 ulasan)
5,4
5,4
15 freelancers are bidding on average $97 USD for this job
Avatar Pengguna
I can work for you!
$54 USD dalam 1 hari
5,0 (5 ulasan)
4,9
4,9
Avatar Pengguna
Hi Charlie, Please check the PMB and answer my few questions. Thanks.
$155 USD dalam 3 hari
4,8 (19 ulasan)
4,0
4,0
Avatar Pengguna
Sir, Please look at your inbox.
$50 USD dalam 3 hari
5,0 (8 ulasan)
3,4
3,4
Avatar Pengguna
Sr. Software Developer with 4.6 yrs experience.
$55 USD dalam 2 hari
5,0 (5 ulasan)
3,1
3,1
Avatar Pengguna
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 dalam 3 hari
4,8 (12 ulasan)
3,0
3,0
Avatar Pengguna
Pretty easy, I will have that done in a few hours.
$30 USD dalam 2 hari
5,0 (2 ulasan)
2,1
2,1
Avatar Pengguna
Hi, VB6 expert here. Please check my feedback and portfolio for VB6 projects.
$55 USD dalam 3 hari
5,0 (1 ulasan)
2,1
2,1
Avatar Pengguna
Expert in Java.
$77 USD dalam 3 hari
5,0 (1 ulasan)
1,1
1,1
Avatar Pengguna
Hi, let's start now!!!
$55 USD dalam 2 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
I have 15+ years of experience in VB2 to VB6 and do this task easily.
$222 USD dalam 3 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
plz check pmb...
$277 USD dalam 5 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
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 dalam 3 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
Hi! I'm experienced in Visual Basic (VB6 & VBA) and have good programming practices. KR, Isabel
$78 USD dalam 3 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
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 dalam 20 hari
0,0 (0 ulasan)
0,0
0,0

Tentang klien

Bendera UNITED KINGDOM
Hamilton, United Kingdom
5,0
114
Memverifikasi Metode pembayaran
Anggota sejak Mei 8, 2005

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.