Find Jobs
Hire Freelancers

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

$10-30 USD

Concluído
Publicado há quase 10 anos

$10-30 USD

Pago na 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 do Projeto: 6292045

Sobre o projeto

8 propostas
Projeto remoto
Ativo há 10 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
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 em 1 dia
5,0 (21 avaliações)
5,4
5,4
8 freelancers estão ofertando em média $26 USD for esse trabalho
Avatar do Usuário
A proposal has not yet been provided
$24 USD em 1 dia
4,9 (44 avaliações)
6,3
6,3
Avatar do Usuário
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 em 0 dia
5,0 (10 avaliações)
4,1
4,1
Avatar do Usuário
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 em 1 dia
5,0 (5 avaliações)
3,3
3,3
Avatar do Usuário
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 em 1 dia
4,9 (5 avaliações)
3,2
3,2
Avatar do Usuário
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 em 1 dia
5,0 (1 avaliação)
1,4
1,4
Avatar do Usuário
A proposal has not yet been provided
$30 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) UNITED STATES
Toccoa, United States
5,0
418
Método de pagamento verificado
Membro desde dez. 14, 2004

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos 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)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.