Click here to Skip to main content
15,881,559 members
Home / Discussions / C#
   

C#

 
AnswerRe: Not getting the reason for 'Application.OnThreadException' raised. Pin
Richard MacCutchan9-Sep-10 22:11
mveRichard MacCutchan9-Sep-10 22:11 
GeneralRe: Not getting the reason for 'Application.OnThreadException' raised. Pin
srng.net10-Sep-10 1:09
srng.net10-Sep-10 1:09 
GeneralRe: Not getting the reason for 'Application.OnThreadException' raised. Pin
Richard MacCutchan10-Sep-10 2:12
mveRichard MacCutchan10-Sep-10 2:12 
GeneralRe: Not getting the reason for 'Application.OnThreadException' raised. Pin
Dave Kreskowiak10-Sep-10 2:13
mveDave Kreskowiak10-Sep-10 2:13 
QuestionCan not create file using FileStream in release mode Pin
ndkit9-Sep-10 17:23
ndkit9-Sep-10 17:23 
AnswerRe: Can not create file using FileStream in release mode Pin
Luc Pattyn9-Sep-10 17:50
sitebuilderLuc Pattyn9-Sep-10 17:50 
GeneralRe: Can not create file using FileStream in release mode Pin
ndkit9-Sep-10 22:04
ndkit9-Sep-10 22:04 
GeneralRe: Can not create file using FileStream in release mode Pin
DaveyM699-Sep-10 22:21
professionalDaveyM699-Sep-10 22:21 
If you are trying to write to Program Files it could be a permissions issue. I would try another path that is definately going to accessible such as:
C#
Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)

To get the path you're using ath the moment I would do it this way:
C#
string folderPath = Path.Combine(
    Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), "MyFolder");

I doubt that is related to your problem but may avoid problems in future.
Dave

Binging is like googling, it just feels dirtier.
Please take your VB.NET out of our nice case sensitive forum.
Astonish us. Be exceptional. (Pete O'Hanlon)

BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)



AnswerRe: Can not create file using FileStream in release mode Pin
Luc Pattyn10-Sep-10 1:42
sitebuilderLuc Pattyn10-Sep-10 1:42 
QuestionThrottling web service calls on different threads Pin
Gareth H9-Sep-10 7:33
Gareth H9-Sep-10 7:33 
AnswerRe: Throttling web service calls on different threads Pin
Ian Shlasko9-Sep-10 8:10
Ian Shlasko9-Sep-10 8:10 
GeneralRe: Throttling web service calls on different threads Pin
Gareth H10-Sep-10 1:26
Gareth H10-Sep-10 1:26 
GeneralRe: Throttling web service calls on different threads Pin
Ian Shlasko10-Sep-10 1:46
Ian Shlasko10-Sep-10 1:46 
GeneralRe: Throttling web service calls on different threads Pin
Gareth H10-Sep-10 1:50
Gareth H10-Sep-10 1:50 
AnswerRe: Throttling web service calls on different threads Pin
Luc Pattyn9-Sep-10 11:12
sitebuilderLuc Pattyn9-Sep-10 11:12 
GeneralRe: Throttling web service calls on different threads Pin
Gareth H10-Sep-10 1:37
Gareth H10-Sep-10 1:37 
AnswerRe: Throttling web service calls on different threads Pin
Abhinav S9-Sep-10 17:30
Abhinav S9-Sep-10 17:30 
GeneralRe: Throttling web service calls on different threads Pin
Gareth H9-Sep-10 21:07
Gareth H9-Sep-10 21:07 
Questionsearch and save to SQL using LINQ in C# Pin
navidsoft9-Sep-10 6:07
professionalnavidsoft9-Sep-10 6:07 
AnswerRe: search and save to SQL using LINQ in C# Pin
Ian Shlasko9-Sep-10 10:42
Ian Shlasko9-Sep-10 10:42 
GeneralRe: search and save to SQL using LINQ in C# Pin
navidsoft9-Sep-10 21:21
professionalnavidsoft9-Sep-10 21:21 
GeneralRe: search and save to SQL using LINQ in C# Pin
Ian Shlasko10-Sep-10 1:43
Ian Shlasko10-Sep-10 1:43 
QuestionCasting ItemsControl.ItemsSource to Generic Collection Pin
Jammer9-Sep-10 5:11
Jammer9-Sep-10 5:11 
AnswerRe: Casting ItemsControl.ItemsSource to Generic Collection Pin
#realJSOP9-Sep-10 7:29
mve#realJSOP9-Sep-10 7:29 
AnswerRe: Casting ItemsControl.ItemsSource to Generic Collection Pin
Ian Shlasko9-Sep-10 10:51
Ian Shlasko9-Sep-10 10:51 

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.