Click here to Skip to main content
15,896,154 members
Home / Discussions / C#
   

C#

 
QuestionSockets in C#, how? Pin
User 665825-Aug-05 3:54
User 665825-Aug-05 3:54 
AnswerRe: Sockets in C#, how? Pin
Judah Gabriel Himango25-Aug-05 6:56
sponsorJudah Gabriel Himango25-Aug-05 6:56 
GeneralRe: Sockets in C#, how? Pin
User 665825-Aug-05 8:09
User 665825-Aug-05 8:09 
QuestionColumn Changed Event Pin
zaboboa25-Aug-05 2:53
zaboboa25-Aug-05 2:53 
QuestionMap a drive to a Netware server from a Windows service Pin
robertod200425-Aug-05 2:43
robertod200425-Aug-05 2:43 
AnswerRe: Map a drive to a Netware server from a Windows service Pin
Dave Kreskowiak25-Aug-05 4:35
mveDave Kreskowiak25-Aug-05 4:35 
GeneralRe: Map a drive to a Netware server from a Windows service Pin
robertod200429-Aug-05 5:08
robertod200429-Aug-05 5:08 
GeneralRe: Map a drive to a Netware server from a Windows service Pin
Dave Kreskowiak29-Aug-05 9:53
mveDave Kreskowiak29-Aug-05 9:53 
robertod2004 wrote:
It works just fine from a standard test Windows app that I wrote, but from within the Windows service the same piece of code can't find the same directory. Weird!

It's not weird. It's just that you're making some assumptions that's getting you in this trouble. What account do you think Windows Service run under, by default? It's not your account, it's the Local System account, which has no rights to any network resources what-so-ever, and you can give it the rights either.

Go into the Services control panel, under Administrative Tools. Double-Click your service to get it's properties. Click on the Log On tab and you'll be able to change the account that run service runs under to one that has appropriate rights to the server.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Map a drive to a Netware server from a Windows service Pin
robertod200430-Aug-05 0:58
robertod200430-Aug-05 0:58 
Questionstart winforms application without displaying it until receive signal? Pin
misterbear25-Aug-05 2:37
misterbear25-Aug-05 2:37 
AnswerRe: start winforms application without displaying it until receive signal? Pin
Dave Kreskowiak25-Aug-05 6:41
mveDave Kreskowiak25-Aug-05 6:41 
QuestionManifest Pin
Alex_Y25-Aug-05 2:36
Alex_Y25-Aug-05 2:36 
GeneralGetting screensize Pin
Yannielsen25-Aug-05 2:19
Yannielsen25-Aug-05 2:19 
GeneralRe: Getting screensize Pin
leppie25-Aug-05 2:29
leppie25-Aug-05 2:29 
GeneralRe: Getting screensize Pin
Yannielsen25-Aug-05 3:12
Yannielsen25-Aug-05 3:12 
Generalc# and databases Pin
nc3b25-Aug-05 1:57
nc3b25-Aug-05 1:57 
QuestionChange of form's Size property in Show method? Pin
AnonymousTwo25-Aug-05 1:52
AnonymousTwo25-Aug-05 1:52 
QuestionDataset Pin
chandru_inbox24-Aug-05 23:56
chandru_inbox24-Aug-05 23:56 
AnswerRe: Dataset Pin
Blashyrkh#25-Aug-05 0:06
Blashyrkh#25-Aug-05 0:06 
GeneralRe: Dataset Pin
miah alom25-Aug-05 4:56
miah alom25-Aug-05 4:56 
QuestionHelp with checking of version of file Pin
StephenMcAllister24-Aug-05 23:42
StephenMcAllister24-Aug-05 23:42 
Generaladding controls in rutime Pin
3DoorsDown24-Aug-05 22:56
3DoorsDown24-Aug-05 22:56 
GeneralRe: adding controls in rutime Pin
Corinna John24-Aug-05 23:27
Corinna John24-Aug-05 23:27 
GeneralLocalization Pin
shakhshir24-Aug-05 22:45
shakhshir24-Aug-05 22:45 
GeneralCoupling 2 Listboxes Pin
Blashyrkh#24-Aug-05 21:55
Blashyrkh#24-Aug-05 21:55 

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.