Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
System.Diagnostics.Process.Start
Message
From
16/04/2012 13:47:10
 
 
To
16/04/2012 07:07:42
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01541444
Message ID:
01541704
Views:
19
>Just a guess: http://msdn.microsoft.com/en-us/library/system.diagnostics.process.synchronizingobject.aspx
>
>I must have taken my strupid pills today :)

Maybe I did too :-}

>How am I supposed to set the synchronizing object when the reference to my process is null?

You could try without the using{} but if it is not being instantiated at all then there's no point. My guess is that the process is instantiating then immediately crashing - maybe down to attempting something for which it has no permissions ?
I haven't got any documentation in front of me right now but, IIRC, you can hook into errors which are raised by the process - if you do that temporarily then that may shed some light on what's going wrong.

Personally I think I'd try to handle this using my own code (tho maybe with a background worker) - grabbing a screen area to a bitmap and printing (or saving to a file) should be pretty simple......
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform