Click here to Skip to main content
16,006,605 members
Home / Discussions / C#
   

C#

 
QuestionIndirection dilemna !! Pin
mikkasava16-Dec-06 5:52
mikkasava16-Dec-06 5:52 
AnswerRe: Indirection dilemna !! Pin
Luc Pattyn16-Dec-06 6:51
sitebuilderLuc Pattyn16-Dec-06 6:51 
AnswerRe: Indirection dilemna !! Pin
mikkasava16-Dec-06 16:06
mikkasava16-Dec-06 16:06 
QuestionIndex out of range Pin
Saamir16-Dec-06 4:27
Saamir16-Dec-06 4:27 
AnswerRe: Index out of range Pin
Luc Pattyn16-Dec-06 4:47
sitebuilderLuc Pattyn16-Dec-06 4:47 
Questionwindows search Pin
p3iy3316-Dec-06 3:26
p3iy3316-Dec-06 3:26 
AnswerRe: windows search Pin
gnadeem16-Dec-06 9:03
gnadeem16-Dec-06 9:03 
QuestionDetect inactive Bat file Pin
AnnnS16-Dec-06 1:38
AnnnS16-Dec-06 1:38 
Hi all
i have the folloeing code to run a batch file

System.Diagnostics.ProcessStartInfo psiinfo=new System.Diagnostics.ProcessStartInfo("aaa.bat");
psiinfo.WindowStyle=System.Diagnostics.ProcessWindowStyle.Hidden;
psiinfo.CreateNoWindow=true;
System.Diagnostics.Process p1=System.Diagnostics.Process.Start(psiinfo);
while(!p1.HasExited);
//
//Following some other code
//

It works fine with Xp and 2000. But the problem comes with windows 98

in that after executing the batch file the batch file will not get closed . instead it will become an inactive window and the user has to close it manualy . So "has Exited " is not working here since the process is not getting closed. is there any way to find out whether the process in inactive or completed execution ..

thanks in Advance
AnnS


Suffering cheerfully endured, ceases to be suffering and is transmuted into an ineffable joy.

AnswerRe: Detect inactive Bat file Pin
Luc Pattyn16-Dec-06 4:52
sitebuilderLuc Pattyn16-Dec-06 4:52 
Questiondirectx Pin
pardis16-Dec-06 1:15
pardis16-Dec-06 1:15 
AnswerRe: directx Pin
Luc Pattyn16-Dec-06 4:53
sitebuilderLuc Pattyn16-Dec-06 4:53 
QuestionMonitor elapsed time with the stop watch Pin
steve_rm16-Dec-06 0:52
steve_rm16-Dec-06 0:52 
AnswerRe: Monitor elapsed time with the stop watch Pin
Stefan Troschuetz16-Dec-06 1:14
Stefan Troschuetz16-Dec-06 1:14 
QuestionHow to convert C# escape characters to ACCESS Pin
subramanyeswari16-Dec-06 0:30
subramanyeswari16-Dec-06 0:30 
AnswerRe: How to convert C# escape characters to ACCESS Pin
Stefan Troschuetz16-Dec-06 1:22
Stefan Troschuetz16-Dec-06 1:22 
QuestionGeneric Error Pin
sathishtl00715-Dec-06 21:48
sathishtl00715-Dec-06 21:48 
AnswerRe: Generic Error Pin
Nader Elshehabi15-Dec-06 22:03
Nader Elshehabi15-Dec-06 22:03 
Question[Message Deleted] Pin
haneef115-Dec-06 21:38
haneef115-Dec-06 21:38 
AnswerRe: how to call the buttons dynamically for my own form in c# Pin
Nader Elshehabi15-Dec-06 22:00
Nader Elshehabi15-Dec-06 22:00 
AnswerRe: how to call the buttons dynamically for my own form in c# Pin
Stefan Troschuetz16-Dec-06 1:06
Stefan Troschuetz16-Dec-06 1:06 
QuestionChild Node Text ????????????? Pin
sajid.salim.khan15-Dec-06 20:36
sajid.salim.khan15-Dec-06 20:36 
AnswerRe: Child Node Text ????????????? Pin
Stefan Troschuetz15-Dec-06 21:11
Stefan Troschuetz15-Dec-06 21:11 
QuestionAccess Active Document In Word Template Project Pin
AmitSumit15-Dec-06 20:28
AmitSumit15-Dec-06 20:28 
Questioncode of remember me!!! Pin
Ashish Porwal15-Dec-06 20:12
Ashish Porwal15-Dec-06 20:12 
AnswerRe: code of remember me!!! Pin
toxcct22-Jan-07 10:28
toxcct22-Jan-07 10:28 

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.