I have a template (word document) . First I copy the template with another name ... after that I replace all the placeholders .. Next I save my word document ... Then I convert my word document into a pdf file .. Finally I save the path of both documents
in my database. All is fine when I run my application in localhost but when I run with the server I can´t open my template and also I can´t replace all the placeholders. So I can´t save my files in my directory that is in the server and in the database. Please
help me ... and worst errors do not appear. What kind of solution could I try?
Protected Sub btninsert_Click(sender As Object, e As EventArgs) Handles btninsert.Click
Dim MSWord As New Word.Application
Dim Documento As Word.Document
System.IO.File.Cop ...
Go to the complete details ...