Click here to Skip to main content
15,896,557 members
Home / Discussions / C#
   

C#

 
GeneralRe: Problem with HasExited and WaitForExit() Pin
DaveyM698-Feb-08 9:02
professionalDaveyM698-Feb-08 9:02 
GeneralRe: Problem with HasExited and WaitForExit() Pin
danielhasdibs8-Feb-08 10:11
danielhasdibs8-Feb-08 10:11 
GeneralRe: Problem with HasExited and WaitForExit() Pin
danielhasdibs8-Feb-08 8:41
danielhasdibs8-Feb-08 8:41 
GeneralRe: Problem with HasExited and WaitForExit() Pin
Gareth H8-Feb-08 8:59
Gareth H8-Feb-08 8:59 
GeneralRe: Problem with HasExited and WaitForExit() Pin
danielhasdibs8-Feb-08 9:33
danielhasdibs8-Feb-08 9:33 
GeneralRe: Problem with HasExited and WaitForExit() Pin
Ennis Ray Lynch, Jr.8-Feb-08 9:00
Ennis Ray Lynch, Jr.8-Feb-08 9:00 
GeneralRe: Problem with HasExited and WaitForExit() Pin
PIEBALDconsult8-Feb-08 9:20
mvePIEBALDconsult8-Feb-08 9:20 
GeneralRe: Problem with HasExited and WaitForExit() Pin
danielhasdibs8-Feb-08 9:29
danielhasdibs8-Feb-08 9:29 
I have tried many, many variations of the code above. I'm practically bald from me pulling my hair out.

I used the @ symbol because I saw it used in other code, but even without it, HasExited and WaitForExit do not work as expected. Ignore the string array and just assume it is a string (which it is). That's just how I need it for my particular piece of code.

However, the result of the code above are as follows:

The Word document opens, then immediately the hyperlink opens. There is no pause or anything.
GeneralRe: Problem with HasExited and WaitForExit() Pin
PIEBALDconsult8-Feb-08 9:40
mvePIEBALDconsult8-Feb-08 9:40 
GeneralRe: Problem with HasExited and WaitForExit() [modified] Pin
danielhasdibs8-Feb-08 9:37
danielhasdibs8-Feb-08 9:37 
GeneralRe: Problem with HasExited and WaitForExit() [modified] Pin
PIEBALDconsult8-Feb-08 9:48
mvePIEBALDconsult8-Feb-08 9:48 
GeneralRe: Problem with HasExited and WaitForExit() Pin
PIEBALDconsult8-Feb-08 10:02
mvePIEBALDconsult8-Feb-08 10:02 
GeneralRe: Problem with HasExited and WaitForExit() Pin
danielhasdibs8-Feb-08 10:09
danielhasdibs8-Feb-08 10:09 
GeneralRe: Problem with HasExited and WaitForExit() Pin
PIEBALDconsult8-Feb-08 10:48
mvePIEBALDconsult8-Feb-08 10:48 
GeneralRe: Problem with HasExited and WaitForExit() Pin
danielhasdibs8-Feb-08 10:14
danielhasdibs8-Feb-08 10:14 
GeneralRe: Problem with HasExited and WaitForExit() [modified] Pin
DaveyM698-Feb-08 11:18
professionalDaveyM698-Feb-08 11:18 
GeneralRe: Problem with HasExited and WaitForExit() Pin
Luc Pattyn8-Feb-08 11:30
sitebuilderLuc Pattyn8-Feb-08 11:30 
GeneralRe: Problem with HasExited and WaitForExit() [modified] Pin
DaveyM698-Feb-08 11:38
professionalDaveyM698-Feb-08 11:38 
GeneralRe: Problem with HasExited and WaitForExit() Pin
Luc Pattyn8-Feb-08 11:46
sitebuilderLuc Pattyn8-Feb-08 11:46 
GeneralRe: Problem with HasExited and WaitForExit() Pin
DaveyM698-Feb-08 11:54
professionalDaveyM698-Feb-08 11:54 
GeneralRe: Problem with HasExited and WaitForExit() Pin
Guffa8-Feb-08 12:41
Guffa8-Feb-08 12:41 
GeneralRe: Problem with HasExited and WaitForExit() Pin
engsrini8-Feb-08 13:20
engsrini8-Feb-08 13:20 
GeneralRe: Problem with HasExited and WaitForExit() Pin
mav.northwind8-Feb-08 20:07
mav.northwind8-Feb-08 20:07 
GeneralRe: Problem with HasExited and WaitForExit() Pin
PIEBALDconsult9-Feb-08 4:36
mvePIEBALDconsult9-Feb-08 4:36 
GeneralRe: Problem with HasExited and WaitForExit() Pin
danielhasdibs11-Feb-08 3:43
danielhasdibs11-Feb-08 3:43 

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.