CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2012
    Posts
    22

    Picture to Word doc form memory

    Hi!
    I want to add a picture to my opened word file. But not from file. I have some picture on a DC in my program and want it directly to Word document. Does anybody know how?
    At least may be some documentation to read advises.

  2. #2
    Join Date
    Jul 2005
    Location
    Netherlands
    Posts
    2,042

    Re: Picture to Word doc form memory

    It's probably easier to just copy the image to the clipboard in your program and then paste it in Word. That way you don't need to interact with Word from your program.
    Cheers, D Drmmr

    Please put [code][/code] tags around your code to preserve indentation and make it more readable.

    As long as man ascribes to himself what is merely a posibility, he will not work for the attainment of it. - P. D. Ouspensky

  3. #3
    Join Date
    May 2012
    Posts
    22

    Re: Picture to Word doc form memory

    Quote Originally Posted by D_Drmmr View Post
    It's probably easier to just copy the image to the clipboard in your program and then paste it in Word. That way you don't need to interact with Word from your program.
    I think it is easier, but I don't want user to lose any "very important" information that will be in clipboard in "that" moment for sure)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured