Find Jobs
Hire Freelancers

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

$30-250 USD

Terminado
Publicado hace casi 11 años

$30-250 USD

Pagado a la entrega
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 del proyecto: 4685303

Información sobre el proyecto

15 propuestas
Proyecto remoto
Activo hace 11 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
Hi Greg, Revising my bid. Thanks, Ninad
$55 USD en 10 días
5,0 (32 comentarios)
5,4
5,4
15 freelancers están ofertando un promedio de $97 USD por este trabajo
Avatar del usuario
I can work for you!
$54 USD en 1 día
5,0 (5 comentarios)
4,9
4,9
Avatar del usuario
Hi Charlie, Please check the PMB and answer my few questions. Thanks.
$155 USD en 3 días
4,8 (19 comentarios)
4,0
4,0
Avatar del usuario
Sir, Please look at your inbox.
$50 USD en 3 días
5,0 (8 comentarios)
3,4
3,4
Avatar del usuario
Sr. Software Developer with 4.6 yrs experience.
$55 USD en 2 días
5,0 (5 comentarios)
3,1
3,1
Avatar del usuario
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 en 3 días
4,8 (12 comentarios)
3,0
3,0
Avatar del usuario
Pretty easy, I will have that done in a few hours.
$30 USD en 2 días
5,0 (2 comentarios)
2,1
2,1
Avatar del usuario
Hi, VB6 expert here. Please check my feedback and portfolio for VB6 projects.
$55 USD en 3 días
5,0 (1 comentario)
2,1
2,1
Avatar del usuario
Expert in Java.
$77 USD en 3 días
5,0 (1 comentario)
1,1
1,1
Avatar del usuario
Hi, let's start now!!!
$55 USD en 2 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I have 15+ years of experience in VB2 to VB6 and do this task easily.
$222 USD en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
plz check pmb...
$277 USD en 5 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
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 en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Hi! I'm experienced in Visual Basic (VB6 & VBA) and have good programming practices. KR, Isabel
$78 USD en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
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 en 20 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED KINGDOM
Hamilton, United Kingdom
5,0
114
Forma de pago verificada
Miembro desde may 8, 2005

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.