Click here to Skip to main content
15,908,901 members
Home / Discussions / C#
   

C#

 
QuestionClearing DataGridView Pin
DeepOceans17-Sep-07 22:49
DeepOceans17-Sep-07 22:49 
Questionceating smtp for sending mail via gmail Pin
Raviii_198317-Sep-07 22:44
Raviii_198317-Sep-07 22:44 
QuestionNeed Help With RichTextBox Pin
wienzzz17-Sep-07 22:17
wienzzz17-Sep-07 22:17 
AnswerRe: Need Help With RichTextBox Pin
wienzzz17-Sep-07 23:18
wienzzz17-Sep-07 23:18 
GeneralRe: Need Help With RichTextBox Pin
wienzzz17-Sep-07 23:39
wienzzz17-Sep-07 23:39 
GeneralRe: Need Help With RichTextBox Pin
Pete O'Hanlon18-Sep-07 1:41
mvePete O'Hanlon18-Sep-07 1:41 
QuestionSendMessage Function (Sub in C#) Pin
Programm3r17-Sep-07 22:08
Programm3r17-Sep-07 22:08 
QuestionRe: SendMessage Function (Sub in C#) Pin
Programm3r17-Sep-07 22:38
Programm3r17-Sep-07 22:38 
AnswerRe: SendMessage Function (Sub in C#) Pin
wienzzz17-Sep-07 22:49
wienzzz17-Sep-07 22:49 
QuestionRe: SendMessage Function (Sub in C#) Pin
Programm3r17-Sep-07 22:57
Programm3r17-Sep-07 22:57 
AnswerRe: SendMessage Function (Sub in C#) Pin
Luc Pattyn17-Sep-07 23:00
sitebuilderLuc Pattyn17-Sep-07 23:00 
GeneralRe: SendMessage Function (Sub in C#) Pin
wienzzz17-Sep-07 23:07
wienzzz17-Sep-07 23:07 
GeneralRe: SendMessage Function (Sub in C#) Pin
Programm3r17-Sep-07 23:07
Programm3r17-Sep-07 23:07 
GeneralRe: SendMessage Function (Sub in C#) Pin
Martin#17-Sep-07 23:14
Martin#17-Sep-07 23:14 
GeneralRe: SendMessage Function (Sub in C#) Pin
Programm3r17-Sep-07 23:20
Programm3r17-Sep-07 23:20 
GeneralRe: SendMessage Function (Sub in C#) Pin
Luc Pattyn17-Sep-07 23:17
sitebuilderLuc Pattyn17-Sep-07 23:17 
GeneralRe: SendMessage Function (Sub in C#) Pin
Giorgi Dalakishvili17-Sep-07 23:17
mentorGiorgi Dalakishvili17-Sep-07 23:17 
GeneralRe: SendMessage Function (Sub in C#) Pin
Programm3r17-Sep-07 23:21
Programm3r17-Sep-07 23:21 
QuestionMessageBox From Windows Service Pin
Programm3r18-Sep-07 0:04
Programm3r18-Sep-07 0:04 
AnswerRe: MessageBox From Windows Service Pin
Big Daddy Farang18-Sep-07 7:13
Big Daddy Farang18-Sep-07 7:13 
When you say "Service" do you mean that your C# program is running as a Windows Service? That's my assumption here, and yes it's possible. Whether or not it's advisable is another matter.

Now when I say "possible" I mean that the code will compile and build, and the .exe can be installed as a Windows Service and run. Often times one of the main reasons to develop a solution to run as a Windows Service is so that it can run even when no user is logged in to the computer. Now if that's the case, and the code finds it way down the path to where the MessageBox is .Show()'n, I don't know what will happen. Maybe nothing. Maybe it's displayed and causes the Service to stop executing until the nonexistent user clicks the unseen "OK" button.

Of course you could try it and see what happens. If you do, post your results here so everyone can know, too. Then try to find out if a tree falls in the forest.... Wink | ;)

BDF
AnswerExtra code if needed Pin
jblouir17-Sep-07 22:06
jblouir17-Sep-07 22:06 
GeneralUsing collection class in struct Pin
J a a n s17-Sep-07 22:22
professionalJ a a n s17-Sep-07 22:22 
GeneralRe: Using collection class in struct Pin
jblouir17-Sep-07 22:37
jblouir17-Sep-07 22:37 
GeneralDidnt work :o( Pin
jblouir17-Sep-07 23:56
jblouir17-Sep-07 23:56 
Generaland again Pin
jblouir18-Sep-07 0:10
jblouir18-Sep-07 0:10 

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.