Click here to Skip to main content
15,899,475 members
Home / Discussions / C#
   

C#

 
AnswerRe: Need help to find nearest number above another from text file Pin
Richard MacCutchan9-Mar-10 21:30
mveRichard MacCutchan9-Mar-10 21:30 
QuestionGetting Mac Address of a remote PC with C# without Admin Privileges Pin
alias479-Mar-10 14:19
alias479-Mar-10 14:19 
Answerwarning Pin
Luc Pattyn9-Mar-10 14:51
sitebuilderLuc Pattyn9-Mar-10 14:51 
Questionpinvokes from windows service Pin
jacobjordan9-Mar-10 14:02
jacobjordan9-Mar-10 14:02 
AnswerRe: pinvokes from windows service Pin
Luc Pattyn9-Mar-10 14:10
sitebuilderLuc Pattyn9-Mar-10 14:10 
AnswerRe: pinvokes from windows service Pin
DaveyM699-Mar-10 14:16
professionalDaveyM699-Mar-10 14:16 
GeneralRe: pinvokes from windows service Pin
jacobjordan9-Mar-10 14:41
jacobjordan9-Mar-10 14:41 
GeneralRe: pinvokes from windows service Pin
Luc Pattyn9-Mar-10 14:53
sitebuilderLuc Pattyn9-Mar-10 14:53 
jacobjordan wrote:
GetWindowText, and GetForegroundWindow


those are GUI functions, your service by default has no user and no desktop, hence no GUI.
You must tell it somehow to allow user interaction and specify the account type. I don't know the details.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.

GeneralRe: pinvokes from windows service Pin
DaveyM699-Mar-10 15:20
professionalDaveyM699-Mar-10 15:20 
GeneralRe: pinvokes from windows service Pin
jacobjordan9-Mar-10 15:47
jacobjordan9-Mar-10 15:47 
GeneralRe: pinvokes from windows service Pin
DaveyM699-Mar-10 16:00
professionalDaveyM699-Mar-10 16:00 
GeneralRe: pinvokes from windows service Pin
Luc Pattyn9-Mar-10 16:02
sitebuilderLuc Pattyn9-Mar-10 16:02 
GeneralRe: pinvokes from windows service Pin
DaveyM699-Mar-10 15:26
professionalDaveyM699-Mar-10 15:26 
QuestionSender as form access class propertys Pin
Member 69748219-Mar-10 12:29
Member 69748219-Mar-10 12:29 
AnswerRe: Sender as form access class propertys [modified] Pin
Luc Pattyn9-Mar-10 12:36
sitebuilderLuc Pattyn9-Mar-10 12:36 
GeneralRe: Sender as form access class propertys Pin
Member 69748219-Mar-10 12:46
Member 69748219-Mar-10 12:46 
GeneralRe: Sender as form access class propertys [modified] Pin
Luc Pattyn9-Mar-10 12:54
sitebuilderLuc Pattyn9-Mar-10 12:54 
QuestionTelerik RadGred Question Pin
Kevin Marois9-Mar-10 11:16
professionalKevin Marois9-Mar-10 11:16 
QuestionC# and MySQL Pin
Evgeni579-Mar-10 10:21
Evgeni579-Mar-10 10:21 
AnswerRe: C# and MySQL Pin
Luc Pattyn9-Mar-10 10:40
sitebuilderLuc Pattyn9-Mar-10 10:40 
GeneralRe: C# and MySQL Pin
Evgeni579-Mar-10 21:01
Evgeni579-Mar-10 21:01 
QuestionRemap a COM port programmatically Pin
taralex9-Mar-10 9:01
taralex9-Mar-10 9:01 
AnswerRe: Remap a COM port programmatically Pin
Luc Pattyn9-Mar-10 10:45
sitebuilderLuc Pattyn9-Mar-10 10:45 
GeneralRe: Remap a COM port programmatically Pin
taralex9-Mar-10 11:07
taralex9-Mar-10 11:07 
QuestionEasy question about Custom Controls from a newbie. Pin
Kanetakeo9-Mar-10 8:16
Kanetakeo9-Mar-10 8:16 

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.