in reply to Re^2: Save As option in Win32::OLE
in thread Save As option in Win32::OLE

How does your answer relate to what the definition or value of wdFormatDOSTextLineBreaks is? You use it in your code but you don't show where it comes from.

Replies are listed 'Best First'.
Re^4: Save As option in Win32::OLE
by Selvakumar (Scribe) on Jun 17, 2009 at 08:56 UTC
    try what i explained then you can able to understand. i just upload what i have used. if u don't understand please try in http://everything2.com/title/Perl%2520OLE for more explanation.

      I'm not sure you understand my question. Why do you use the word wdFormatDOSTextLineBreaks in your code?

      If you didn't show us your complete code, but only a small snippet, why do you think we can diagnose your problem from that small snippet? If you are blindly trying to run some code you found somewhere on the internet, we will likely be unable to assist you further.

      If your question is actually about why Microsoft Word behaves differently than your code, maybe you will have to change your code to work properly? You have not shown the example where the manual output and the output of the program create different output, and where the output is exactly different.

        Why do you use the word wdFormatDOSTextLineBreaks in your code?
        • it's a bareword
        • perhaps it's a constant
        • in the context, perhaps it's a MS constant
        • again, in the context, perhaps the wd bit indicates it might be a MS Word constant
        • perhaps importing those constants might help
        And, indeed, it does.

        I recommend nipping down off the mountain and ravishing a few nymphs. :-)

        The first line of my qestion explains my requirement. For that what i have given that code is enough and will work fine. I hope i need to upload what question i am asking instead of upload all my code and confuse you more.
        Also i don't don't how to upload my screenshots or files here for your reference that's y i have explained how the output should like in my next mail.
        Forget about "wdFormatDOSTextLineBreaks" and let me know the possibilites to achive my output.