Click here to Skip to main content
15,917,709 members
Home / Discussions / C#
   

C#

 
GeneralRe: MeasureItem is not called for menu [EDITED] Pin
Dave Kreskowiak27-May-04 4:15
mveDave Kreskowiak27-May-04 4:15 
GeneralRe: MeasureItem is not called for menu [EDITED] Pin
Member 54677527-May-04 4:58
Member 54677527-May-04 4:58 
GeneralLDAP Authentication! Please Help Pin
rami2k26-May-04 22:13
rami2k26-May-04 22:13 
GeneralRe: LDAP Authentication! Please Help Pin
MrEyes27-May-04 0:34
MrEyes27-May-04 0:34 
GeneralRe: LDAP Authentication! Please Help Pin
rami2k27-May-04 5:03
rami2k27-May-04 5:03 
GeneralRe: LDAP Authentication! Please Help Pin
Dave Kreskowiak27-May-04 3:53
mveDave Kreskowiak27-May-04 3:53 
GeneralRe: LDAP Authentication! Please Help Pin
rami2k27-May-04 4:57
rami2k27-May-04 4:57 
GeneralRe: LDAP Authentication! Please Help Pin
Dave Kreskowiak27-May-04 5:21
mveDave Kreskowiak27-May-04 5:21 
Your ActiveDirectory environment is setup a bit differnet than mine. In mine, I don't have to supply credentials to AD to get access to another machine. We're all Domain admins and have access to any machine whenever we need it.

But, for automated processes, like yours, we created accounts in AD that belong to a group at a CN above all the machine we need the process to talk to. This group is a member of all the machines Administrators group. When I launch one of the apps on my machine, all I do is provide it the userID and Password I need it to use, then the app maps a drive to the target computer share, like \\machine\C$. For a quick a dirty solution to that problem, I just created a WScript.Network object, and used that to map the drive, supplying the entered username and password. Then the app just goes and gets the file off that drive letter and path and unmaps the drive. No messaging around with AD is required, no impersonation. Just done...

You could also P/Invoke the WNetUseConnection, WNetAddConnection2, WNetCancelConnection2 functions to accomplish the same thing.


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

GeneralRe: LDAP Authentication! Please Help Pin
Heath Stewart27-May-04 5:01
protectorHeath Stewart27-May-04 5:01 
GeneralRemoting Help! Please help urgently! Pin
hprahul26-May-04 22:07
hprahul26-May-04 22:07 
GeneralRe: Remoting Help! Please help urgently! Pin
Heath Stewart27-May-04 4:56
protectorHeath Stewart27-May-04 4:56 
GeneralRe: Remoting Help! Please help urgently! Pin
hprahul27-May-04 14:41
hprahul27-May-04 14:41 
GeneralRe: Remoting Help! Please help urgently! Pin
Aaron Eldreth27-May-04 15:50
Aaron Eldreth27-May-04 15:50 
GeneralRe: Remoting Help! Please help urgently! Pin
hprahul27-May-04 20:25
hprahul27-May-04 20:25 
GeneralRe: Remoting Help! Please help urgently! Pin
Heath Stewart30-May-04 5:59
protectorHeath Stewart30-May-04 5:59 
GeneralRe: Remoting Help! Please help urgently! Pin
hprahul30-May-04 13:57
hprahul30-May-04 13:57 
GeneralRe: Remoting Help! Please help urgently! Pin
Heath Stewart1-Jun-04 6:11
protectorHeath Stewart1-Jun-04 6:11 
QuestionHow to log files downloaded Pin
Stuggo26-May-04 21:56
Stuggo26-May-04 21:56 
AnswerRe: How to log files downloaded Pin
Dave Kreskowiak27-May-04 4:19
mveDave Kreskowiak27-May-04 4:19 
AnswerRe: How to log files downloaded Pin
Heath Stewart27-May-04 4:52
protectorHeath Stewart27-May-04 4:52 
AnswerRe: How to log files downloaded Pin
Dave Kreskowiak27-May-04 5:30
mveDave Kreskowiak27-May-04 5:30 
GeneralABOUT CONTROL Listview Pin
Member 103377126-May-04 16:44
Member 103377126-May-04 16:44 
GeneralRe: ABOUT CONTROL Listview Pin
sreejith ss nair26-May-04 21:34
sreejith ss nair26-May-04 21:34 
GeneralRe: ABOUT CONTROL Listview Pin
Dave Kreskowiak27-May-04 3:44
mveDave Kreskowiak27-May-04 3:44 
GeneralDynamic Properties Pin
Steve Schaneville26-May-04 15:10
professionalSteve Schaneville26-May-04 15:10 

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.