Find Jobs
Hire Freelancers

I need a class that downloads an image this loads it into an image control fixed

$10-30 USD

Terminado
Publicado hace casi 10 años

$10-30 USD

Pagado a la entrega
Please see the attached project for the issue. try { using (WebClient Client = new WebClient()) { [login to view URL](imageName, [login to view URL](imageName)); } } catch (WebException ex) { if ([login to view URL] == "The remote server returned an error: (404) Not Found.") { // File was not found } } try { if ([login to view URL]([login to view URL](imageName))) { itemImage = [login to view URL]([login to view URL](imageName)); } } catch (Exception ex) { [login to view URL]([login to view URL]()); } The first block correctly downloads the file. The block is catching a [login to view URL] exception. I need this fixed so that it loads the image into the image control instead.
ID del proyecto: 6292045

Información sobre el proyecto

8 propuestas
Proyecto remoto
Activo hace 10 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
Greetings, After running your current project, it appears that there is a problem with the URL that you are using to download the image file. While it sets the name of the image correctly, if you rename the file [login to view URL] to .txt you will see that it has actually downloaded a html file of the website's home page. You should be able to hit the url [login to view URL] in the browser and the image should load. Please let me know how I can be of assistance to you on this project. Thanks. Regards, Jinesh
$30 USD en 1 día
5,0 (21 comentarios)
5,4
5,4
8 freelancers están ofertando un promedio de $26 USD por este trabajo
Avatar del usuario
A proposal has not yet been provided
$24 USD en 1 día
4,9 (44 comentarios)
6,3
6,3
Avatar del usuario
I have found your error, i can do that for you in 1-2h. This is a simple bug. Even though i can write a better function for you. Waiting for your response
$25 USD en 0 día
5,0 (10 comentarios)
4,1
4,1
Avatar del usuario
Good day i think i understand the problem. I tried to run the source code provided, but it doesnt work as some libraries are missing. However, i believe the problem is a different one. Could you please send me the file (the picture) that is causing the OutOfMemory exception? Looking forward hearing from you, Have a nice day
$25 USD en 1 día
5,0 (5 comentarios)
3,3
3,3
Avatar del usuario
Hello. I have a lot of experience with C#, along with big portion of it in the WebClient/GDI+ area. I'm ready to take on your project and complete it fast.
$15 USD en 1 día
4,9 (5 comentarios)
3,2
3,2
Avatar del usuario
I have worked in C++/C# and created a lot of projects and games so it`s familiar to me and i have joined before in a lot of programming and problem solving contests in my college and online
$30 USD en 1 día
5,0 (1 comentario)
1,4
1,4
Avatar del usuario
A proposal has not yet been provided
$30 USD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Toccoa, United States
5,0
418
Forma de pago verificada
Miembro desde dic 14, 2004

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.