title: Printing copies of document from form textbox
body: <p>Is there a way to print the number of copies given in a textbox in a C# windows form application? </p>
  
  <p>With my current code the document gets printed the required number of prints, but after the first print there is a dialog that says that the document already is opened and I have to open a copy. When I open this copy, the document prints again, but only if I accept to open the copy. Is there a way to print the document multiple times without getting the dialog of the copy of the document every time?</p>
  
  <p>When the form is filled in correct, I want it to be stored on my hard drive and want it to print the number given in a textbox on a previous form. The value from this textbox is stored in the variable intAantalPoorten. </p>
  
  <p>Thanks a lot!</p>
  
  <p>Regards Bert</p>
  
  <pre><code>CreateWordDocument(@"N:\De wienes\Productieformulieren\Sjablonen\Poortblad.docx", @"N:\De wienes\Productieformulieren\Producties poortbladen\Poortblad " + txtKlantnaam.Text + "-" + txtReferentie.Text + ".docx");
  
  ProcessStartInfo info = new ProcessStartInfo(@"N:\De wienes\Productieformulieren\Producties poortbladen\Poortblad " + txtKlantnaam.Text + "-" + txtReferentie.Text + ".docx");
  
  
              for (intAAntalPrints = 0; intAAntalPrints &lt;= intAantalPoorten; intAAntalPrints++)
  
              {
  
                  info.Verb = "Print";
                  info.CreateNoWindow = true;
                  info.WindowStyle = ProcessWindowStyle.Hidden;
                  Process.Start(info); 
  
              }
  </code></pre>