Find Jobs
Hire Freelancers

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

$10-30 USD

Suoritettu
Julkaistu lähes 10 vuotta sitten

$10-30 USD

Maksettu toimituksen yhteydessä
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.
Projektin tunnus (ID): 6292045

Tietoa projektista

8 ehdotukset
Etäprojekti
Aktiivinen 10 vuotta sitten

Haluatko ansaita rahaa?

Freelancerin tarjouskilpailun edut

Aseta budjettisi ja aikataulu
Saa maksu työstäsi
Kuvaile ehdotustasi
Rekisteröinti ja töihin tarjoaminen on ilmaista
Myönnetty käyttäjälle:
Käyttäjän avatar
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 1 päivässä
5,0 (21 arvostelua)
5,4
5,4
8 freelancerit tarjoavat keskimäärin $26 USD tätä projektia
Käyttäjän avatar
A proposal has not yet been provided
$24 USD 1 päivässä
4,9 (44 arvostelua)
6,3
6,3
Käyttäjän avatar
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 0 päivässä
5,0 (10 arvostelua)
4,1
4,1
Käyttäjän avatar
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 1 päivässä
5,0 (5 arvostelua)
3,3
3,3
Käyttäjän avatar
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 1 päivässä
4,9 (5 arvostelua)
3,2
3,2
Käyttäjän avatar
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 1 päivässä
5,0 (1 arvostelu)
1,4
1,4
Käyttäjän avatar
A proposal has not yet been provided
$30 USD 1 päivässä
0,0 (0 arvostelua)
0,0
0,0

Tietoja asiakkaasta

Maan UNITED STATES lippu
Toccoa, United States
5,0
418
Maksutapa vahvistettu
Liittynyt jouluk. 14, 2004

Asiakkaan vahvistus

Kiitos! Olemme lähettäneet sinulle sähköpostitse linkin, jolla voit lunastaa ilmaisen krediittisi.
Jotain meni pieleen lähetettäessä sähköpostiasi. Yritä uudelleen.
Rekisteröitynyttä käyttäjää Ilmoitettua työtä yhteensä
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ladataan esikatselua
Lupa myönnetty Geolocation.
Kirjautumisistuntosi on vanhentunut ja sinut on kirjattu ulos. Kirjaudu uudelleen sisään.