Click here to Skip to main content
15,912,837 members
Home / Discussions / C#
   

C#

 
AnswerRe: Application.DoEvents(); throwing System.IO.FileNotFoundException ? Pin
Jacob Dixon27-Jun-10 11:47
Jacob Dixon27-Jun-10 11:47 
QuestionSwitching a program from foreground to background Pin
WubbleU26-Jun-10 22:53
WubbleU26-Jun-10 22:53 
AnswerRe: Switching a program from foreground to background Pin
DaveAuld26-Jun-10 23:24
professionalDaveAuld26-Jun-10 23:24 
GeneralRe: Switching a program from foreground to background Pin
WubbleU26-Jun-10 23:28
WubbleU26-Jun-10 23:28 
GeneralRe: Switching a program from foreground to background Pin
Trollslayer26-Jun-10 23:38
mentorTrollslayer26-Jun-10 23:38 
GeneralRe: Switching a program from foreground to background Pin
WubbleU26-Jun-10 23:42
WubbleU26-Jun-10 23:42 
GeneralRe: Switching a program from foreground to background Pin
Trollslayer27-Jun-10 0:09
mentorTrollslayer27-Jun-10 0:09 
GeneralRe: Switching a program from foreground to background Pin
Richard MacCutchan27-Jun-10 0:15
mveRichard MacCutchan27-Jun-10 0:15 
WubbleU wrote:
I put my lines of code right at the beginning of the main() method and that doesn't work.


Yes, but what exactly are you trying to do and what is the result?

Your program should look something like
static void Main()
{
    Application.EnableVisualStyles();
    Application.SetCompatibleTextRenderingDefault(false);
    Application.Run(new RotaForm());
}

You should be able to perform any other functionality before the three lines above to achieve the result you are after. However, it is somewhat difficult to understand exactly what you are trying to do, maybe if you post some of your code it will become clearer.
It's time for a new signature.

AnswerRe: Switching a program from foreground to background Pin
PIEBALDconsult27-Jun-10 4:08
mvePIEBALDconsult27-Jun-10 4:08 
GeneralRe: Switching a program from foreground to background Pin
WubbleU1-Jul-10 16:37
WubbleU1-Jul-10 16:37 
GeneralRe: Switching a program from foreground to background Pin
WubbleU3-Jul-10 19:50
WubbleU3-Jul-10 19:50 
QuestionStringBuilder and String [modified] Pin
NetQuestions26-Jun-10 22:28
NetQuestions26-Jun-10 22:28 
AnswerRe: StringBuilder and String Pin
Keith Barrow26-Jun-10 22:49
professionalKeith Barrow26-Jun-10 22:49 
AnswerRe: StringBuilder and String Pin
OriginalGriff26-Jun-10 22:57
mveOriginalGriff26-Jun-10 22:57 
AnswerRe: StringBuilder and String Pin
harold aptroot27-Jun-10 2:34
harold aptroot27-Jun-10 2:34 
GeneralRe: StringBuilder and String Pin
Daniel Grunwald29-Jun-10 0:41
Daniel Grunwald29-Jun-10 0:41 
GeneralRe: StringBuilder and String Pin
harold aptroot29-Jun-10 0:51
harold aptroot29-Jun-10 0:51 
AnswerRe: StringBuilder and String Pin
PIEBALDconsult27-Jun-10 5:36
mvePIEBALDconsult27-Jun-10 5:36 
QuestionDOT MATRIX PRINTING PROBLEM Pin
vishnukamath26-Jun-10 20:03
vishnukamath26-Jun-10 20:03 
AnswerRe: DOT MATRIX PRINTING PROBLEM Pin
DaveAuld26-Jun-10 21:32
professionalDaveAuld26-Jun-10 21:32 
QuestionQuick Watch Pin
Darrall26-Jun-10 10:36
Darrall26-Jun-10 10:36 
AnswerRe: Quick Watch Pin
Pete O'Hanlon26-Jun-10 10:51
mvePete O'Hanlon26-Jun-10 10:51 
GeneralRe: Quick Watch Pin
Darrall26-Jun-10 10:53
Darrall26-Jun-10 10:53 
GeneralRe: Quick Watch Pin
Pete O'Hanlon26-Jun-10 11:01
mvePete O'Hanlon26-Jun-10 11:01 
AnswerRe: Quick Watch Pin
riced26-Jun-10 10:53
riced26-Jun-10 10:53 

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.