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

C#

 
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 
GeneralSolution! Cant use any arrays in struct. Pin
jblouir18-Sep-07 0:13
jblouir18-Sep-07 0:13 
QuestionGridView in C#. Only alternate colum gets binded in DataControlRowState Pin
Bino B17-Sep-07 21:45
Bino B17-Sep-07 21:45 
AnswerRe: GridView in C#. Only alternate colum gets binded in DataControlRowState Pin
Virendrak18-Sep-07 2:02
Virendrak18-Sep-07 2:02 
GeneralRe: GridView in C#. Only alternate colum gets binded in DataControlRowState Pin
Bino B19-Sep-07 16:38
Bino B19-Sep-07 16:38 
QuestionProblem with the scrollbar which is attached to a textbox Pin
kandy_soliton17-Sep-07 21:40
kandy_soliton17-Sep-07 21:40 
Questionhow to change the label value of mdi child form from non-mdi form Pin
mukesh choudhary17-Sep-07 21:14
mukesh choudhary17-Sep-07 21:14 
AnswerRe: how to change the label value of mdi child form from non-mdi form Pin
Pete O'Hanlon18-Sep-07 2:36
mvePete O'Hanlon18-Sep-07 2:36 
GeneralRe: how to change the label value of mdi child form from non-mdi form Pin
mukesh choudhary20-Sep-07 4:55
mukesh choudhary20-Sep-07 4:55 
QuestionContext Menu in List view Pin
M. J. Jaya Chitra17-Sep-07 21:14
M. J. Jaya Chitra17-Sep-07 21:14 
Questionadding controls to an invisible control Pin
cignox117-Sep-07 21:12
cignox117-Sep-07 21:12 
AnswerRe: adding controls to an invisible control Pin
Luc Pattyn17-Sep-07 23:03
sitebuilderLuc Pattyn17-Sep-07 23:03 
GeneralRe: adding controls to an invisible control Pin
cignox117-Sep-07 23:36
cignox117-Sep-07 23:36 

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.