add several .jpg pictures to a word document using delphi 7

Posted on 2009-04-19
Last Modified: 2012-05-06
i am trying to make a program to produce sample sheets for a photographer to print where the photographer would select the files from a directory and then send all of the images to word, each a4 sheet would have 8 images with their filename underneath i have tried several different ways but it just isnt happening  
Question by:mjwalker88
    LVL 6

    Accepted Solution

    You could create a 'template' document that contains 8 links to images called eg. IMAGE01, IMAGE02 etc. and not the images themselves. You could then select your 8 images in Delphi, copy them over the dummy images. When the Word document is now opened, the selected images will be showing in place of the dummy images and you can print the result.

    If you need the Word document to be 'standalone' - ie. not dependent on external images - you will have to modify the word document (via a VB script perhaps) to embed the images themselves..

    Author Comment

    is there no easy way to do this ??? like using delphi to produce a word document with a table with enough cells to hold the images then assign each image to a different cell using something like the wordDocument component or something
    LVL 100

    Expert Comment

    This question has been classified as abandoned and is being closed as part of the Cleanup Program.  See my comment at the end of the question for more details.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
    Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    734 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

    19 Experts available now in Live!

    Get 1:1 Help Now