Click here to Skip to main content
15,922,533 members
Home / Discussions / C#
   

C#

 
AnswerRe: The Noisy Screen Saver Pin
Guffa8-Dec-08 5:41
Guffa8-Dec-08 5:41 
QuestionHow do I know when Form.Invoke is finished? Pin
arnold_w8-Dec-08 1:23
arnold_w8-Dec-08 1:23 
AnswerRe: How do I know when Form.Invoke is finished? Pin
Simon P Stevens8-Dec-08 1:38
Simon P Stevens8-Dec-08 1:38 
GeneralRe: How do I know when Form.Invoke is finished? Pin
arnold_w8-Dec-08 1:39
arnold_w8-Dec-08 1:39 
QuestionC# windows form ComboBox control Pin
AndieDu8-Dec-08 1:19
AndieDu8-Dec-08 1:19 
GeneralRe: C# windows form ComboBox control Pin
Luc Pattyn8-Dec-08 1:54
sitebuilderLuc Pattyn8-Dec-08 1:54 
AnswerRe: C# windows form ComboBox control Pin
Xmen Real 8-Dec-08 4:05
professional Xmen Real 8-Dec-08 4:05 
QuestionFile.Exists - not finding file on PostBack Pin
Member 34028868-Dec-08 1:17
Member 34028868-Dec-08 1:17 
Hi
I'm writing a web app to upload up to 4 images to a folder. I also have a drop-down list so the user can choose whether pic is picture 1, 2, 3 or 4 (to set order on page display). Anyway, when one picture is uploaded the user stays in the form to add more pictures. I clear the DDL and re-populate it depending on which pictures have already been uploaded - i.e if pic 1 has been uploaded, only pic 2, 3 and 4 appear in drop-down. To determine this I use File.Exists but this doesn't seem to be working on a postback (i.e it doesn't find pic1.jpg which I have uploaded. It works however, if I leave the page and then click to add an image later - could this be an issue of the folder not refreshing so it looks like the file doesn't exist or a postback problem? Any ideas would be greatly appreciated.

Thanks
Lorna
AnswerRe: File.Exists - not finding file on PostBack Pin
Abhijit Jana8-Dec-08 1:27
professionalAbhijit Jana8-Dec-08 1:27 
GeneralRe: File.Exists - not finding file on PostBack Pin
Member 34028868-Dec-08 1:57
Member 34028868-Dec-08 1:57 
GeneralRe: File.Exists - not finding file on PostBack Pin
Dave Kreskowiak8-Dec-08 4:29
mveDave Kreskowiak8-Dec-08 4:29 
QuestionRecent Files Pin
TJS4u8-Dec-08 0:31
TJS4u8-Dec-08 0:31 
AnswerRe: Recent Files Pin
Colin Angus Mackay8-Dec-08 0:43
Colin Angus Mackay8-Dec-08 0:43 
GeneralRe: Recent Files Pin
Luc Pattyn8-Dec-08 1:56
sitebuilderLuc Pattyn8-Dec-08 1:56 
GeneralRe: Recent Files Pin
Xmen Real 8-Dec-08 4:15
professional Xmen Real 8-Dec-08 4:15 
GeneralRe: Recent Files Pin
Luc Pattyn8-Dec-08 4:35
sitebuilderLuc Pattyn8-Dec-08 4:35 
GeneralRe: Recent File Pin
Xmen Real 8-Dec-08 4:38
professional Xmen Real 8-Dec-08 4:38 
Questionexport Windows Registry information as .REG file using c#.net Pin
sumit70348-Dec-08 0:23
sumit70348-Dec-08 0:23 
AnswerRe: export Windows Registry information as .REG file using c#.net Pin
Giorgi Dalakishvili8-Dec-08 2:59
mentorGiorgi Dalakishvili8-Dec-08 2:59 
QuestionWhat is the difference between Convert.ToInt32() or int.Parse() [modified] Pin
Bottomless Wisdom7-Dec-08 23:32
Bottomless Wisdom7-Dec-08 23:32 
AnswerRe: What is the difference between Convert.ToInt32() or int.Parse() Pin
Alan N7-Dec-08 23:50
Alan N7-Dec-08 23:50 
AnswerRe: What is the difference between Convert.ToInt32() or int.Parse() Pin
Simon P Stevens8-Dec-08 0:05
Simon P Stevens8-Dec-08 0:05 
GeneralRe: What is the difference between Convert.ToInt32() or int.Parse() Pin
#realJSOP8-Dec-08 0:10
professional#realJSOP8-Dec-08 0:10 
GeneralRe: What is the difference between Convert.ToInt32() or int.Parse() Pin
Simon P Stevens8-Dec-08 0:23
Simon P Stevens8-Dec-08 0:23 
GeneralRe: What is the difference between Convert.ToInt32() or int.Parse() Pin
Colin Angus Mackay8-Dec-08 0:46
Colin Angus Mackay8-Dec-08 0:46 

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.