BoldDeskHelp desk software offering ticketing, live chat, and omnichannel support, starting at $49/mo. for 10 agents.
Try it for free.Ever need to convert multiple Word documents into one PDF document? Here is a quick and easy sample demonstrating just that!
// Creating a New document.
WordDocument doc = New WordDocument();
// Imports the first template document
If ((String)textBox1.Tag != String.Empty)
doc.ImportContent(New WordDocument((String)textBox1.Tag));
Else
MessageBox.Show("Browse a Word document To import", "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
// Imports the second template document
If ((String)textBox2.Tag != String.Empty)
doc.ImportContent(New WordDocument((String)textBox2.Tag));
Else
MessageBox.Show("Browse a Word document To import", "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
If ((String)textBox1.Tag != String.Empty && (String)textBox2.Tag != String.Empty)
{
DocToPDFConverter converter = New DocToPDFConverter();
//Convert Imported word document into PDF document
PdfDocument pdfDoc = converter.ConvertToPDF(doc);
//Save the pdf file
pdfDoc.Save((String)textBox1.Text + ".pdf");
pdfDoc.Close(True);
}
Looking to create a wrapper application for Android or Windows Phone? Find a step-by-step guide full of code samples and screenshots on our FAQ for .NET developers to learn how.
Without developers testing their code, they can’t be sure that their code works, leading to bugs, more time in QA, and missed deadlines. Yet testing ASP.NET and ASP.NET MVC applications has always been difficult. Methods & Tools recently published an article by the creator of Ivonna, a unit testing framework for ASP.NET that works with Typemock Isolator, about automating the difference between unit testing and integration testing, and how to start automated unit testing in ASP.NET MVC.