c# - How to use more than one verb when starting a process? -


Currently I'm printing a doctor file using the following code:

 < Code> System.Diagnostics processing p = new system Diagnostics Process (); P.StartInfo = new System.Diagnostics.ProcessStartInfo () {CreateNoWindow = false, Verb = "print", fileName = fileName // Put the right path here}; P.Start ();  

What can I do that I can keep files open after printing or else it can be printed around other files and then print it. Can I use another verb with a process?

You can not

Works are implemented as a full command line: Each action corresponds to a full command line, which is defined in the registry. Thus, each new action will start an entirely different process, with only one executable binary going on (usually) with different command-line arguments.

To control an application in more detail, you can

read more about it:


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -