Click here to Skip to main content
15,892,199 members

Comments by Cardon Fry (Top 10 by date)

Cardon Fry 28-Sep-12 15:28pm View    
I haven't worked with flash in a while and don't have the free time right now, but if it isn't answered by the time that I do have some extra time I will check into some of my old flash projects to see if I can be of better help.
Cardon Fry 26-Sep-12 17:31pm View    
Your question feels like it is missing parts, please re-read your question and try to word it better.
Cardon Fry 7-Jun-11 0:49am View    
The folder I created with the path of this:
@"C:\Users\Cardon\Documents\Pokemon\" + ID + " - " + pokemonName
What I was trying to save the image as was this:
@"C:\Users\Cardon\Documents\Pokemon\" + ID + " - " + pokemonName

I didn't realize that I didn't change the path and naming of the picture, which caused it to try and overwrite the folder, but it couldn't. Yes it now works. Now I just have to go through and finish coding data scraping.
Digging into MSDN it brought this up:
ExternalException

The image was saved with the wrong image format.

-or-

The image was saved to the same file it was created from.

I found this by searching the method I was using on MSDN and looked at what exceptions it could throw and the explanation of why it might get thrown. When I did my initial search to "fix" the exception it was by what the actual exception was called which did not really provide me with a "fix".
Cardon Fry 6-Jun-11 22:28pm View    
Thank you SO much, I went back and looked at your comment carefully rereading it several times, taking a look at the exception stack and my code then I noticed the problem. I was trying to save the image as if it was the folder I just created causing it to throw the exception. I have fixed this and have given your solution a 5. I am sorry, sometimes I can just be so blind.
Cardon Fry 6-Jun-11 16:23pm View    
I got rid of some code I commented from when I tried a way to get around the exception. But it is that very last line of code every time.