Click here to Skip to main content
15,924,507 members
Home / Discussions / C#
   

C#

 
GeneralRe: getting a data from a database and put in a xml document Pin
Ashfield27-May-08 1:21
Ashfield27-May-08 1:21 
QuestionTask Bar Help Pin
Saiyed Alam26-May-08 23:02
Saiyed Alam26-May-08 23:02 
AnswerRe: Task Bar Help Pin
leppie26-May-08 23:35
leppie26-May-08 23:35 
QuestionDatagridView and relations Pin
anjase26-May-08 22:37
anjase26-May-08 22:37 
QuestionWindows Service Dosen't Show ! Pin
ptr2void26-May-08 22:21
ptr2void26-May-08 22:21 
AnswerRe: Windows Service Dosen't Show ! Pin
dan!sh 26-May-08 22:30
professional dan!sh 26-May-08 22:30 
GeneralRe: Windows Service Dosen't Show ! Pin
ptr2void26-May-08 23:41
ptr2void26-May-08 23:41 
AnswerRe: Windows Service Dosen't Show ! Pin
leppie26-May-08 22:40
leppie26-May-08 22:40 
Is there anything wrong with just running a normal Windows application?

But really, try to think about it. You start as a service, this happens before login, so where exactly is your UI suppose to go? See, it doesnt make sense. Rather start the app from start up.

All that said, here is probably the better idea:
1. Create a service.
2. Create a Windows Forms application, and add to start up folder or registry.
3. Use remoting to so the Winforms app can communicate with the service if necessary. BTW, you say you just wanna stop a service, so remoting will not even be needed (but somehow it seems you want to stop the service from within the service, not sure how that will work).

xacc.ide - now with TabsToSpaces support
IronScheme - 1.0 alpha 3 out now

GeneralRe: Windows Service Dosen't Show ! [modified] Pin
ptr2void26-May-08 23:46
ptr2void26-May-08 23:46 
GeneralRe: Windows Service Dosen't Show ! Pin
leppie27-May-08 0:23
leppie27-May-08 0:23 
Question[Message Deleted] Pin
Bobbz26-May-08 22:00
Bobbz26-May-08 22:00 
AnswerSame question in four forums Pin
dan!sh 26-May-08 22:20
professional dan!sh 26-May-08 22:20 
QuestionHelp wanted Pin
Saiyed Alam26-May-08 20:52
Saiyed Alam26-May-08 20:52 
AnswerRe: Help wanted Pin
D i x y26-May-08 21:35
D i x y26-May-08 21:35 
GeneralRe: Help wanted Pin
Saiyed Alam26-May-08 23:03
Saiyed Alam26-May-08 23:03 
QuestionGetting key from the value Pin
N a v a n e e t h26-May-08 20:38
N a v a n e e t h26-May-08 20:38 
AnswerRe: Getting key from the value Pin
S. Senthil Kumar26-May-08 20:51
S. Senthil Kumar26-May-08 20:51 
GeneralRe: Getting key from the value Pin
N a v a n e e t h26-May-08 20:59
N a v a n e e t h26-May-08 20:59 
GeneralRe: Getting key from the value Pin
N a v a n e e t h26-May-08 21:06
N a v a n e e t h26-May-08 21:06 
AnswerRe: Getting key from the value Pin
dan!sh 26-May-08 20:55
professional dan!sh 26-May-08 20:55 
GeneralRe: Getting key from the value Pin
N a v a n e e t h26-May-08 21:01
N a v a n e e t h26-May-08 21:01 
GeneralRe: Getting key from the value Pin
dan!sh 26-May-08 21:14
professional dan!sh 26-May-08 21:14 
GeneralRe: Getting key from the value Pin
dan!sh 26-May-08 21:21
professional dan!sh 26-May-08 21:21 
GeneralRe: Getting key from the value Pin
N a v a n e e t h26-May-08 21:56
N a v a n e e t h26-May-08 21:56 
AnswerRe: Getting key from the value Pin
Guffa26-May-08 21:53
Guffa26-May-08 21: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.