Click here to Skip to main content
15,921,990 members
Home / Discussions / C#
   

C#

 
AnswerRe: Debugging gone crazy Pin
Le centriste16-Dec-08 2:32
Le centriste16-Dec-08 2:32 
QuestionWhat is the Best one ? Thread.Sleep() OR Timer Pin
Charith Jayasundara16-Dec-08 0:08
Charith Jayasundara16-Dec-08 0:08 
AnswerRe: What is the Best one ? Thread.Sleep() OR Timer Pin
N a v a n e e t h16-Dec-08 0:50
N a v a n e e t h16-Dec-08 0:50 
AnswerRe: What is the Best one ? Thread.Sleep() OR Timer Pin
Christian Graus16-Dec-08 0:50
protectorChristian Graus16-Dec-08 0:50 
QuestionDataGrid and poibt to new added recodr Pin
aref8715-Dec-08 23:47
aref8715-Dec-08 23:47 
AnswerRe: DataGrid and poibt to new added recodr Pin
Charith Jayasundara16-Dec-08 0:04
Charith Jayasundara16-Dec-08 0:04 
QuestionRe: DataGrid and poibt to new added recodr Pin
aref8716-Dec-08 12:11
aref8716-Dec-08 12:11 
QuestionThe application failed to initialize properly (0xc0000142). Click on OK to terminate the application Pin
fulbright15-Dec-08 23:42
fulbright15-Dec-08 23:42 
I have a project server 2007. using its event handler i want to run "notepad" against some perticular event (trigerred by project professional). The project server is running an eventing service under the user "Network service" that processes the event handlers registered to the project server. Event handler is written as a class library and the generated dll is registered in the project server's event handler. Following is the code which is failed to run a notepad application, resulting an error message mentioned in the subject:

public override void onpublish(PSContextInfo ps, ProjectPostPublishEventArgs e)
{
SecureString ssPwd = new SecureString();
foreach ( char c in "password" )
ssPwd.Append(c);
Process myProcess = new Process();
myProcess.StartInfo.FileName = "Notepad.exe";
myProcess.StartInfo.CreateNoWindow = false;
myProcess.StartInfo.RedirectStandardError = true;
myProcess.StartInfo.LoadUserProfile = true;
myProcess.StartInfo.Domain = "myDomain";
myProcess.StartInfo.User = "domainAdmin"; // domain administrator
myProcess.StartInfo.Password = ssPwd;
myProcess.StartInfo.WindowStyle = ProcessWindowStyle.Normal;
myProcess.StartInfo.UseShellExecute = false;
myProcess.Start();
}

Any help ???

Madni

Question[Message Deleted] Pin
muralikrishnas15-Dec-08 23:38
muralikrishnas15-Dec-08 23:38 
AnswerRe: Multiple monitors with different outputs Pin
Ashfield15-Dec-08 23:57
Ashfield15-Dec-08 23:57 
QuestionDifferent output for each monitor Pin
muralikrishnas15-Dec-08 23:36
muralikrishnas15-Dec-08 23:36 
AnswerRe: Different output for each monitor Pin
Ashfield15-Dec-08 23:56
Ashfield15-Dec-08 23:56 
AnswerRe: Different output for each monitor Pin
DaveyM6916-Dec-08 0:11
professionalDaveyM6916-Dec-08 0:11 
Questionhow to save javascript grid in cookie on C#.net Pin
wertyk15-Dec-08 23:23
wertyk15-Dec-08 23:23 
AnswerRe: how to save javascript grid in cookie on C#.net Pin
Christian Graus16-Dec-08 0:56
protectorChristian Graus16-Dec-08 0:56 
QuestionHow to remember the position of the toolbar Pin
jpselvam15-Dec-08 23:23
jpselvam15-Dec-08 23:23 
QuestionListview, multiple import? Pin
jas0n2315-Dec-08 22:06
jas0n2315-Dec-08 22:06 
AnswerRe: Listview, multiple import? Pin
DaveyM6915-Dec-08 23:20
professionalDaveyM6915-Dec-08 23:20 
AnswerRe: Listview, multiple import? Pin
Lev Danielyan16-Dec-08 0:46
Lev Danielyan16-Dec-08 0:46 
QuestionHow do you get the file name?? Pin
Muammar©15-Dec-08 20:43
Muammar©15-Dec-08 20:43 
AnswerRe: How do you get the file name?? Pin
Brij15-Dec-08 20:58
mentorBrij15-Dec-08 20:58 
AnswerRe: How do you get the file name?? Pin
Mycroft Holmes15-Dec-08 21:21
professionalMycroft Holmes15-Dec-08 21:21 
GeneralRe: How do you get the file name?? Pin
Muammar©15-Dec-08 22:15
Muammar©15-Dec-08 22:15 
QuestionUrdu to english conversion Pin
Khawar Abbas115-Dec-08 20:42
Khawar Abbas115-Dec-08 20:42 
AnswerRe: Urdu to english conversion Pin
Mycroft Holmes15-Dec-08 21:24
professionalMycroft Holmes15-Dec-08 21:24 

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.