VB.NET - How to load the contents in a form to a WORD Document.

Posted on 2006-04-04
Last Modified: 2010-04-17
I have a form in my application which is actually a reciept. Is it possible to transfer all that data in to a word file in the exact format so i can save it or print it?
Question by:sergeiweerasuriya
    LVL 25

    Accepted Solution

    If the form is standard, you could make a word template,
    open word through VB.NET app, replace text in bookmarked positions in that template with the data from your form, then possible save the document.

    Otherwise, maybe you would want to take a snapshot of the form and save it as an image...

    It depends upon what you intend to do with the information.

    Author Comment

    i just want to print it

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    Here we come across an interesting topic of coding guidelines while designing automation test scripts. The scope of this article will not be limited to QTP but to an overall extent of using VB Scripting for automation projects. Introduction Now…
    This article will show, step by step, how to integrate R code into a R Sweave document
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now