Click here to Skip to main content
15,911,142 members
Home / Discussions / C#
   

C#

 
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?
QuestionNeed Help in Developing Basic biometric software using C# and VERILOOK SDK 3.2 for a diploma level student Pin
RogerLum12-Mar-09 21:40
RogerLum12-Mar-09 21:40 
AnswerRe: Need Help in Developing Basic biometric software using C# and VERILOOK SDK 3.2 for a diploma level student Pin
0x3c012-Mar-09 21:45
0x3c012-Mar-09 21:45 
AnswerRe: Need Help in Developing Basic biometric software using C# and VERILOOK SDK 3.2 for a diploma level student Pin
Pete O'Hanlon12-Mar-09 23:38
mvePete O'Hanlon12-Mar-09 23:38 
QuestionMicrosoft.VisualBasic missing namespace Pin
Speedular12-Mar-09 21:33
Speedular12-Mar-09 21:33 
AnswerRe: Microsoft.VisualBasic missing namespace Pin
0x3c012-Mar-09 21:39
0x3c012-Mar-09 21:39 
GeneralRe: Microsoft.VisualBasic missing namespace Pin
Speedular13-Mar-09 1:39
Speedular13-Mar-09 1:39 
GeneralRe: Microsoft.VisualBasic missing namespace Pin
0x3c013-Mar-09 3:37
0x3c013-Mar-09 3:37 
AnswerRe: Microsoft.VisualBasic missing namespace Pin
sohighthesky12-Mar-09 22:08
sohighthesky12-Mar-09 22:08 
Questionrollover image Pin
karthii2612-Mar-09 21:32
karthii2612-Mar-09 21:32 
AnswerRe: rollover image Pin
Mycroft Holmes12-Mar-09 21:53
professionalMycroft Holmes12-Mar-09 21:53 
AnswerRe: rollover image Pin
0x3c012-Mar-09 21:53
0x3c012-Mar-09 21:53 
AnswerRe: rollover image Pin
Xmen Real 12-Mar-09 23:34
professional Xmen Real 12-Mar-09 23:34 
GeneralRe: rollover image Pin
Michael Bookatz13-Mar-09 0:20
Michael Bookatz13-Mar-09 0:20 
QuestionHow to run C# application as a web service? Pin
ADIDADPU12-Mar-09 21:16
ADIDADPU12-Mar-09 21: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.