Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
AnswerRe: Windows Service - Service Automatically stops when error is thrown Pin
Michel Godfroid14-Apr-10 12:56
Michel Godfroid14-Apr-10 12:56 
GeneralRe: Windows Service - Service Automatically stops when error is thrown Pin
PIEBALDconsult14-Apr-10 13:03
mvePIEBALDconsult14-Apr-10 13:03 
GeneralRe: Windows Service - Service Automatically stops when error is thrown Pin
Michel Godfroid14-Apr-10 13:10
Michel Godfroid14-Apr-10 13:10 
GeneralRe: Windows Service - Service Automatically stops when error is thrown Pin
Joe Brislin15-Apr-10 4:16
Joe Brislin15-Apr-10 4:16 
GeneralRe: Windows Service - Service Automatically stops when error is thrown Pin
PIEBALDconsult15-Apr-10 4:58
mvePIEBALDconsult15-Apr-10 4:58 
QuestionHelp with a Log-in Screen Pin
Geodude48714-Apr-10 7:24
Geodude48714-Apr-10 7:24 
AnswerRe: Help with a Log-in Screen Pin
William Winner14-Apr-10 8:19
William Winner14-Apr-10 8:19 
AnswerRe: Help with a Log-in Screen Pin
OriginalGriff14-Apr-10 8:20
mveOriginalGriff14-Apr-10 8:20 
For this, the best method is probably to set up a public property (called say UserName) in the log in form and then change your main form code to:
private void lnklblLogIn_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
    {
    sp.Stop();
    myUserName = "";
    frmLogIn LogIn = new frmLogIn();
    if (LogIn.ShowDialog() == DialogResult.OK)
       {
       myUserName = LogIn.UserName;
       }
    }
You may want to take some action (like closedown) if the dialog result is not OK
You should never use standby on an elephant. It always crashes when you lift the ears. - Mark Wallace

C/C++ (I dont see a huge difference between them, and the 'benefits' of C++ are questionable, who needs inheritance when you have copy and paste) - fat_boy

GeneralRe: Help with a Log-in Screen Pin
Geodude48715-Apr-10 5:00
Geodude48715-Apr-10 5:00 
GeneralRe: Help with a Log-in Screen Pin
OriginalGriff15-Apr-10 5:37
mveOriginalGriff15-Apr-10 5:37 
GeneralRe: Help with a Log-in Screen Pin
Geodude48715-Apr-10 8:06
Geodude48715-Apr-10 8:06 
QuestionStrange problems with inherited user controls when using DILImport Pin
chrisclarke1114-Apr-10 6:49
chrisclarke1114-Apr-10 6:49 
AnswerRe: Strange problems with inherited user controls when using DILImport Pin
kevinnicol14-Apr-10 8:47
kevinnicol14-Apr-10 8:47 
GeneralRe: Strange problems with inherited user controls when using DILImport Pin
chrisclarke1114-Apr-10 21:27
chrisclarke1114-Apr-10 21:27 
QuestionCSV file based on timer event Pin
mprice21414-Apr-10 6:15
mprice21414-Apr-10 6:15 
AnswerRe: CSV file based on timer event Pin
Ravi Bhavnani14-Apr-10 6:30
professionalRavi Bhavnani14-Apr-10 6:30 
GeneralRe: CSV file based on timer event Pin
mprice21414-Apr-10 7:36
mprice21414-Apr-10 7:36 
AnswerRe: CSV file based on timer event Pin
Ravi Bhavnani14-Apr-10 8:26
professionalRavi Bhavnani14-Apr-10 8:26 
GeneralRe: CSV file based on timer event Pin
mprice21414-Apr-10 8:38
mprice21414-Apr-10 8:38 
GeneralRe: CSV file based on timer event Pin
Ravi Bhavnani14-Apr-10 8:47
professionalRavi Bhavnani14-Apr-10 8:47 
GeneralRe: CSV file based on timer event Pin
Luc Pattyn14-Apr-10 8:53
sitebuilderLuc Pattyn14-Apr-10 8:53 
GeneralRe: CSV file based on timer event Pin
mprice21414-Apr-10 9:08
mprice21414-Apr-10 9:08 
GeneralRe: CSV file based on timer event Pin
Ravi Bhavnani14-Apr-10 9:30
professionalRavi Bhavnani14-Apr-10 9:30 
GeneralRe: CSV file based on timer event Pin
Ravi Bhavnani14-Apr-10 9:29
professionalRavi Bhavnani14-Apr-10 9:29 
GeneralRe: CSV file based on timer event Pin
Luc Pattyn14-Apr-10 9:42
sitebuilderLuc Pattyn14-Apr-10 9:42 

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.