Click here to Skip to main content
15,909,051 members
Home / Discussions / C#
   

C#

 
AnswerRe: Sync confusion Pin
Bharat Jain13-Mar-09 2:50
Bharat Jain13-Mar-09 2:50 
GeneralRe: Sync confusion Pin
J-Cop13-Mar-09 3:01
J-Cop13-Mar-09 3:01 
GeneralRe: Sync confusion Pin
Bharat Jain13-Mar-09 3:30
Bharat Jain13-Mar-09 3:30 
AnswerRe: Sync confusion Pin
Luc Pattyn13-Mar-09 2:56
sitebuilderLuc Pattyn13-Mar-09 2:56 
QuestionFrame CheckSum Calculation Problem Pin
ajorge200813-Mar-09 0:01
ajorge200813-Mar-09 0:01 
AnswerRe: Frame CheckSum Calculation Problem [modified] Pin
DaveyM6913-Mar-09 0:14
professionalDaveyM6913-Mar-09 0:14 
QuestionRegular expressions in C# Pin
KeithF12-Mar-09 23:28
KeithF12-Mar-09 23:28 
AnswerRe: Regular expressions in C# Pin
whaka12-Mar-09 23:48
whaka12-Mar-09 23:48 
AnswerRe: Regular expressions in C# Pin
psi_u13-Mar-09 1:05
psi_u13-Mar-09 1:05 
AnswerRe: Regular expressions in C# Pin
#realJSOP13-Mar-09 2:26
professional#realJSOP13-Mar-09 2:26 
Questionstring reference type? Pin
__DukeNukem__12-Mar-09 23:25
__DukeNukem__12-Mar-09 23:25 
AnswerRe: string reference type? Pin
DaveyM6912-Mar-09 23:37
professionalDaveyM6912-Mar-09 23:37 
GeneralRe: string reference type? Pin
__DukeNukem__12-Mar-09 23:45
__DukeNukem__12-Mar-09 23:45 
GeneralRe: string reference type? Pin
DaveyM6912-Mar-09 23:59
professionalDaveyM6912-Mar-09 23:59 
GeneralRe: string reference type? Pin
Luc Pattyn13-Mar-09 3:10
sitebuilderLuc Pattyn13-Mar-09 3:10 
GeneralRe: string reference type? Pin
DaveyM6913-Mar-09 4:25
professionalDaveyM6913-Mar-09 4:25 
Questionvehicle tracking Pin
R.Krishnakumar12-Mar-09 23:14
R.Krishnakumar12-Mar-09 23:14 
AnswerRe: vehicle tracking Pin
Eddy Vluggen12-Mar-09 23:23
professionalEddy Vluggen12-Mar-09 23:23 
GeneralRe: vehicle tracking Pin
R.Krishnakumar12-Mar-09 23:39
R.Krishnakumar12-Mar-09 23:39 
GeneralRe: vehicle tracking Pin
Pete O'Hanlon12-Mar-09 23:49
mvePete O'Hanlon12-Mar-09 23:49 
GeneralRe: vehicle tracking Pin
stancrm13-Mar-09 0:05
stancrm13-Mar-09 0:05 
GeneralRe: vehicle tracking Pin
Eddy Vluggen13-Mar-09 1:33
professionalEddy Vluggen13-Mar-09 1:33 
AnswerRe: vehicle tracking Pin
Michael Bookatz13-Mar-09 0:30
Michael Bookatz13-Mar-09 0:30 
AnswerRe: vehicle tracking Pin
#realJSOP13-Mar-09 2:28
professional#realJSOP13-Mar-09 2:28 
QuestionRunning process under another user account Pin
Paddy Boyd12-Mar-09 23:12
Paddy Boyd12-Mar-09 23:12 
Hi,

I'm trying to run another app from my C# code, under the context of another user. I've been round the web and got the following code from MSDN:

ProcessStartInfo psi = new ProcessStartInfo(@"C:\Windows\Explorer.exe");//args[0]);
                psi.UseShellExecute = false;

psi.Domain = userParts[0];
psi.UserName = userParts[1];
psi.Password = password;

Process.Start(psi);


Which i believe is fine - username and pwd are set correctly and are for a user that i can use to login to our domain. However, i keep getting an error that i have 'unknown username or bad password' - I am connecting from home at the minute over our VPN connection, and i'm wondering if that maybe has something to do with it...

Wondering if anybody has seen something similar?

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.