Secode,

Firstly, you have replied to your own post, not to either of the replies. This means that neither vkon or myself get a message to say that you have posted a reply. Secondly did you read any of the links I pointed you to in my post? I was pointing out where you went wrong, did you look at the documentation which explains how to drive this kind of application via Win32::OLE? You tell us that you do not understand what vkon is showing you, did you understand the example he posted in reply to your previous question MS word insert picture? I don't see any replies saying you did not understand what you were told. IMHO it would be a better investment of your time if you read the documentation and learn how work with the object model in question. Take a look at The Office object model which provides some useful links and code you may learn from. Taking code you have found on the web is really only worth while if you spend time understanding what it is doing and how it works, otherwise, as we see here, it is difficult to change it to do exactly what you want.

In addition please read the PerlMonks FAQ and How do I post a question effectively? if you have not already done so.

Martin

In reply to Re^2: MS word insert picture again by marto
in thread MS word insert picture again by Secode

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.