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

C#

 
GeneralRe: WinForms App Only Runs When Pressing F5 (Start Debugging) :: VS2008 & .NET 3.5 Pin
Matt U.20-May-10 16:31
Matt U.20-May-10 16:31 
GeneralRe: WinForms App Only Runs When Pressing F5 (Start Debugging) :: VS2008 & .NET 3.5 [modifed] Pin
Luc Pattyn20-May-10 16:49
sitebuilderLuc Pattyn20-May-10 16:49 
GeneralRe: WinForms App Only Runs When Pressing F5 (Start Debugging) :: VS2008 & .NET 3.5 [modifed] Pin
Matt U.20-May-10 16:58
Matt U.20-May-10 16:58 
GeneralRe: WinForms App Only Runs When Pressing F5 (Start Debugging) :: VS2008 & .NET 3.5 [modified] Pin
Luc Pattyn20-May-10 17:15
sitebuilderLuc Pattyn20-May-10 17:15 
GeneralRe: WinForms App Only Runs When Pressing F5 (Start Debugging) :: VS2008 & .NET 3.5 Pin
Matt U.21-May-10 12:36
Matt U.21-May-10 12:36 
GeneralRe: WinForms App Only Runs When Pressing F5 (Start Debugging) :: VS2008 & .NET 3.5 Pin
Luc Pattyn21-May-10 13:03
sitebuilderLuc Pattyn21-May-10 13:03 
GeneralRe: WinForms App Only Runs When Pressing F5 (Start Debugging) :: VS2008 & .NET 3.5 Pin
Matt U.21-May-10 17:14
Matt U.21-May-10 17:14 
GeneralRe: WinForms App Only Runs When Pressing F5 (Start Debugging) :: VS2008 & .NET 3.5 Pin
Luc Pattyn21-May-10 22:22
sitebuilderLuc Pattyn21-May-10 22:22 
Thanks for the info. It tells me your system and mine are very similar; I'm running Vista too, and using VS2008 most of the time. The major difference is, I'm running with UAC.

Here is a new idea: maybe the trouble is related to static initialization; when your app runs, the classes and methods get compiled just-in-time; the first time some class is touched, its statics need created and initialized, and there could be issues about the order in which this happens, maybe race conditions even. If this hypothesis would stand, you could remove almost all code and still have the trouble, until you start simplifying the initializer stuff. Do you have static constructors at all? (i.e. classes with a constructor that is declared static).

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read formatted code with indentation, so please use PRE tags for code snippets.

I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).

GeneralRe: WinForms App Only Runs When Pressing F5 (Start Debugging) :: VS2008 & .NET 3.5 Pin
Matt U.22-May-10 2:16
Matt U.22-May-10 2:16 
GeneralRe: WinForms App Only Runs When Pressing F5 (Start Debugging) :: VS2008 & .NET 3.5 Pin
Luc Pattyn22-May-10 2:49
sitebuilderLuc Pattyn22-May-10 2:49 
GeneralRe: WinForms App Only Runs When Pressing F5 (Start Debugging) :: VS2008 & .NET 3.5 [modified] Pin
Matt U.22-May-10 7:28
Matt U.22-May-10 7:28 
GeneralRe: WinForms App Only Runs When Pressing F5 (Start Debugging) :: VS2008 & .NET 3.5 Pin
Matt U.22-May-10 14:16
Matt U.22-May-10 14:16 
GeneralRe: WinForms App Only Runs When Pressing F5 (Start Debugging) :: VS2008 & .NET 3.5 Pin
Luc Pattyn22-May-10 14:28
sitebuilderLuc Pattyn22-May-10 14:28 
GeneralRe: WinForms App Only Runs When Pressing F5 (Start Debugging) :: VS2008 & .NET 3.5 Pin
Matt U.20-May-10 14:58
Matt U.20-May-10 14:58 
QuestionHelp Re: DateTime and DayofWeek - Increasing DayofWeek Value Pin
roman_s20-May-10 7:45
roman_s20-May-10 7:45 
AnswerRe: Help Re: DateTime and DayofWeek - Increasing DayofWeek Value [modified] Pin
Luc Pattyn20-May-10 8:31
sitebuilderLuc Pattyn20-May-10 8:31 
QuestionZip files Pin
DinoRondelly20-May-10 6:36
DinoRondelly20-May-10 6:36 
AnswerRe: Zip files Pin
J4amieC20-May-10 6:45
J4amieC20-May-10 6:45 
AnswerRe: Zip files Pin
The Man from U.N.C.L.E.20-May-10 6:46
The Man from U.N.C.L.E.20-May-10 6:46 
GeneralRe: Zip files Pin
DinoRondelly20-May-10 7:06
DinoRondelly20-May-10 7:06 
AnswerRe: Zip files Pin
Hristo-Bojilov20-May-10 9:59
Hristo-Bojilov20-May-10 9:59 
Question.mov file writer Pin
c242320-May-10 5:28
c242320-May-10 5:28 
AnswerRe: .mov file writer Pin
Martin Jarvis20-May-10 6:57
Martin Jarvis20-May-10 6:57 
GeneralRe: .mov file writer Pin
c242320-May-10 7:46
c242320-May-10 7:46 
QuestionRetrieve data (using query) from a Access database Pin
Chiman120-May-10 4:29
Chiman120-May-10 4:29 

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.