Click here to Skip to main content
15,919,931 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Scheduled task Pin
Not Active3-Oct-10 10:15
mentorNot Active3-Oct-10 10:15 
GeneralRe: Scheduled task [modified] Pin
NeverHeardOfMe3-Oct-10 10:31
NeverHeardOfMe3-Oct-10 10:31 
GeneralRe: Scheduled task Pin
Not Active3-Oct-10 10:44
mentorNot Active3-Oct-10 10:44 
AnswerRe: Scheduled task Pin
Luc Pattyn3-Oct-10 10:23
sitebuilderLuc Pattyn3-Oct-10 10:23 
Questionpopulate from email to database Pin
Jassim Rahma3-Oct-10 7:33
Jassim Rahma3-Oct-10 7:33 
AnswerRe: populate from email to database Pin
Daniel Casserly3-Oct-10 9:19
Daniel Casserly3-Oct-10 9:19 
Questionhelp if anbody can? Pin
ramneek.20083-Oct-10 0:10
ramneek.20083-Oct-10 0:10 
AnswerRe: help if anbody can? Pin
Luc Pattyn3-Oct-10 3:00
sitebuilderLuc Pattyn3-Oct-10 3:00 
Hi,

welcome to CodeProject.

Your question is very hard to read, with a lot of unformatted code. We recommend you use PRE tags (or the "code block" widget) to get code formatted properly, with indentation, and syntax coloring. You could still edit and improve your existing message! It is also good practice to be as specific as possible about compilation or run-time problems; e.g. an Exception tends to include a line number, telling us which line bombs is a big step forward.

I haven't looked at all the code, I want to signal GDI+ or .NET uses some strange exceptions when things go wrong. As an example (possibly spot on), Image.FromFile gives an OutOfMemoryException when the data in the file isn't using an image format the method understands.

So I suggest you:
1. look at the exact filepath you are using
2. consider whether you want a file on the client side or the server side
3. try and open said file, e.g. by double-clicking it in Windows Explorer; if explorer fails, so will FromFile.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


Questionhow to do this in Google Pin
Jassim Rahma2-Oct-10 21:24
Jassim Rahma2-Oct-10 21:24 
AnswerRe: how to do this in Google Pin
Brij3-Oct-10 2:49
mentorBrij3-Oct-10 2:49 
AnswerRe: how to do this in Google Pin
Luc Pattyn3-Oct-10 3:12
sitebuilderLuc Pattyn3-Oct-10 3:12 
AnswerRe: how to do this in Google Pin
NeverHeardOfMe3-Oct-10 3:33
NeverHeardOfMe3-Oct-10 3:33 
QuestionAllow web users to get a report on the status of my web service Pin
SummerBulb2-Oct-10 9:35
SummerBulb2-Oct-10 9:35 
AnswerRe: Allow web users to get a report on the status of my web service Pin
Not Active2-Oct-10 9:42
mentorNot Active2-Oct-10 9:42 
GeneralRe: Allow web users to get a report on the status of my web service Pin
SummerBulb2-Oct-10 10:33
SummerBulb2-Oct-10 10:33 
GeneralRe: Allow web users to get a report on the status of my web service Pin
Not Active2-Oct-10 11:29
mentorNot Active2-Oct-10 11:29 
AnswerRe: Allow web users to get a report on the status of my web service Pin
Luc Pattyn2-Oct-10 11:13
sitebuilderLuc Pattyn2-Oct-10 11:13 
QuestionSet focus on row after edit Pin
treuveni2-Oct-10 8:34
treuveni2-Oct-10 8:34 
AnswerRe: Set focus on row after edit Pin
Not Active2-Oct-10 9:47
mentorNot Active2-Oct-10 9:47 
GeneralRe: Set focus on row after edit Pin
treuveni3-Oct-10 5:53
treuveni3-Oct-10 5:53 
GeneralRe: Set focus on row after edit Pin
Daniel Casserly3-Oct-10 9:22
Daniel Casserly3-Oct-10 9:22 
QuestionAjax problem Pin
Jassim Rahma1-Oct-10 12:18
Jassim Rahma1-Oct-10 12:18 
AnswerRe: Ajax problem Pin
Brij1-Oct-10 18:09
mentorBrij1-Oct-10 18:09 
GeneralRe: Ajax problem Pin
Jassim Rahma2-Oct-10 7:54
Jassim Rahma2-Oct-10 7:54 
GeneralRe: Ajax problem Pin
Not Active2-Oct-10 9:38
mentorNot Active2-Oct-10 9:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.