Click here to Skip to main content
16,004,860 members
Home / Discussions / C#
   

C#

 
QuestionUser32.DLL in windows 2000 Pin
nhss27-Sep-07 23:00
nhss27-Sep-07 23:00 
QuestionRe: User32.DLL in windows 2000 Pin
TJoe28-Sep-07 2:09
TJoe28-Sep-07 2:09 
AnswerRe: User32.DLL in windows 2000 Pin
nhss28-Sep-07 5:46
nhss28-Sep-07 5:46 
GeneralRe: User32.DLL in windows 2000 Pin
TJoe28-Sep-07 6:40
TJoe28-Sep-07 6:40 
QuestionRe: User32.DLL in windows 2000 Pin
nhss28-Sep-07 6:49
nhss28-Sep-07 6:49 
AnswerRe: User32.DLL in windows 2000 Pin
TJoe28-Sep-07 6:52
TJoe28-Sep-07 6:52 
Questionwindow service Controller Pin
sooberfellow27-Sep-07 21:54
sooberfellow27-Sep-07 21:54 
AnswerRe: window service Controller Pin
ESTAN27-Sep-07 22:56
ESTAN27-Sep-07 22:56 
Hello,

I tried in the past to use a windows form into my windows service. Some users here at code project pointed me out that a windows service is not intending to have a user interface, also because you can run a service without having the user logged in.

Now my experience, (not so big on that) learned me that my service 'crashed' read go to stop mode when some GUI components were called.

For example, the MessageBox.Show you are using, try to log the output to a file.
Also when you are doing the try catch, print the exception to the log for more information
ex.Message, ex.StackTrace ...

Once that you passed that and found out what is wrong you can decide to get rid of the UI elements (system tray icon ?) I'd love to have a service with a system tray icon where i can do stuff, but it didn't work out for me. So I used Remote.NET to communicate with the service.

Let me know more how it goes.
QuestionRemote control help Pin
Stevo Z27-Sep-07 21:37
Stevo Z27-Sep-07 21:37 
QuestionChanging code while debuging c# Application Pin
idreesbadshah27-Sep-07 21:13
idreesbadshah27-Sep-07 21:13 
AnswerRe: Changing code while debuging c# Application Pin
anu8127-Sep-07 21:22
anu8127-Sep-07 21:22 
GeneralRe: Changing code while debuging c# Application Pin
Russell Jones27-Sep-07 23:45
Russell Jones27-Sep-07 23:45 
AnswerRe: Changing code while debuging c# Application Pin
il_masacratore27-Sep-07 21:24
il_masacratore27-Sep-07 21:24 
GeneralRe: Changing code while debuging c# Application Pin
idreesbadshah27-Sep-07 21:28
idreesbadshah27-Sep-07 21:28 
GeneralRe: Changing code while debuging c# Application Pin
Urs Enzler27-Sep-07 22:55
Urs Enzler27-Sep-07 22:55 
AnswerRe: Changing code while debuging c# Application Pin
blackjack215027-Sep-07 21:51
blackjack215027-Sep-07 21:51 
QuestionHelp regarding cellclick event in datagridview Pin
anu8127-Sep-07 20:56
anu8127-Sep-07 20:56 
AnswerRe: Help regarding cellclick event in datagridview Pin
anu8129-Sep-07 0:38
anu8129-Sep-07 0:38 
QuestionButton.Click Handling Issue Pin
Sukhjinder_K27-Sep-07 20:18
Sukhjinder_K27-Sep-07 20:18 
AnswerRe: Button.Click Handling Issue Pin
Christian Graus27-Sep-07 20:19
protectorChristian Graus27-Sep-07 20:19 
GeneralExpected Scenario Explained Pin
Sukhjinder_K27-Sep-07 20:57
Sukhjinder_K27-Sep-07 20:57 
AnswerRe: Button.Click Handling Issue Pin
Sukhjinder_K27-Sep-07 22:13
Sukhjinder_K27-Sep-07 22:13 
GeneralRe: Button.Click Handling Issue Pin
Christian Graus27-Sep-07 22:30
protectorChristian Graus27-Sep-07 22:30 
GeneralRe: Button.Click Handling Issue Pin
Sukhjinder_K27-Sep-07 22:54
Sukhjinder_K27-Sep-07 22:54 
QuestionListView Gridline color Pin
sibiks27-Sep-07 20:07
sibiks27-Sep-07 20:07 

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.