Find Jobs
Hire Freelancers

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

$10-30 USD

Imekamilika
Imechapishwa almost 10 years ago

$10-30 USD

Kulipwa wakati wa kufikishwa
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.
Kitambulisho cha mradi: 6292045

Kuhusu mradi

8 mapendekezo
Mradi wa mbali
Inatumika 10 yrs ago

Unatafuta kupata pesa?

Faida za kutoa zabuni kwenye Freelancer

Weka bajeti yako na muda uliopangwa
Pata malipo kwa kazi yako
Eleza pendekezo lako
Ni bure kujiandikisha na kutoa zabuni kwa kazi
Imetolewa kwa:
Picha ya Mtumiaji
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 ndani ya siku 1
5.0 (21 hakiki)
5.4
5.4
8 wafanyakazi huru wana zabuni kwa wastani $26 USD kwa kazi hii
Picha ya Mtumiaji
A proposal has not yet been provided
$24 USD ndani ya siku 1
4.9 (44 hakiki)
6.3
6.3
Picha ya Mtumiaji
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 ndani ya siku 0
5.0 (10 hakiki)
4.1
4.1
Picha ya Mtumiaji
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 ndani ya siku 1
5.0 (5 hakiki)
3.3
3.3
Picha ya Mtumiaji
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 ndani ya siku 1
4.9 (5 hakiki)
3.2
3.2
Picha ya Mtumiaji
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 ndani ya siku 1
5.0 (1 hakiki)
1.4
1.4
Picha ya Mtumiaji
A proposal has not yet been provided
$30 USD ndani ya siku 1
0.0 (0 hakiki)
0.0
0.0

Kuhusu mteja

Bedera ya UNITED STATES
Toccoa, United States
5.0
418
Njia ya malipo imethibitishwa
Mwanachama tangu Des 14, 2004

Uthibitishaji wa Mteja

Asante! Tumekutumia kiungo cha kudai mkopo wako bila malipo kwa barua pepe.
Hitilafu fulani imetokea wakati wa kutuma barua pepe yako. Tafadhali jaribu tena.
Watumiaji Waliosajiliwa Jumla ya Kazi Zilizochapishwa
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Onyesho la kukagua linapakia
Ruhusa imetolewa kwa Uwekaji wa Kijiografia.
Muda wako wa kuingia umeisha na umetoka nje. Tafadhali ingia tena.