troubleshooting Question

Using values from vb.net app to pupulate Word template

Avatar of alsam
alsam asked on
Visual Basic.NET
5 Comments2 Solutions341 ViewsLast Modified:
Hi,
I have word template (Path:"c:\Word_template\Template.doc") in which I want to replace merge fields with the values from the text boxes in vb.net desktop application. Here is example:
In word template document I have:
<< First and Last name>>
<< Address>>
<<Postal code>>

In vb.net I have:
Textbox1 containing First and Last name
TextBox2 containing Address
TextBox3 cnatining Postal Code

I tried to find some code on the net which will do I want but with no success... I would appreciate your help a lot in order to provide me with code which will solve my problem...
Additionally, there is merge field in the same word template named << Detailed info>> which I would like to replace with my datagridview from my form in vb.net application... is it possibble and if yes I would appreciate a lot your help once more in order to make it works...

Regards...
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 2 Answers and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros