OLE Automation: question about Word SaveAs

Discussion in 'Perl' started by Greg Howard, Jul 2, 2004.

  1. Greg Howard

    Greg Howard Guest

    I am trying to work on a project where I have to open a Word document
    and convert it back to WordPerfect 5.1 for DOS. I have found a
    machine that has not had the Word XP SP3 installed, so I can still do
    the SaveAs command, but when I save as WP Word will pop a message box
    asking me to confirm that some formatting may be lost and do I want to
    continue. Before I try to automate this process any further can
    anyone guide to a place where I can turn off this confirmation
    message?

    Any help would be greatly appreciated.
    Greg Howard
    greg dot howard at (removethisnospam dot) med-tech dot net
     
    Greg Howard, Jul 2, 2004
    #1
    1. Advertising

  2. Greg Howard

    Matt Garrish Guest

    "Greg Howard" <> wrote in message
    news:...
    > I am trying to work on a project where I have to open a Word document
    > and convert it back to WordPerfect 5.1 for DOS. I have found a
    > machine that has not had the Word XP SP3 installed, so I can still do
    > the SaveAs command, but when I save as WP Word will pop a message box
    > asking me to confirm that some formatting may be lost and do I want to
    > continue. Before I try to automate this process any further can
    > anyone guide to a place where I can turn off this confirmation
    > message?
    >


    Have you tried setting the DisplayAlerts property on the Word object you
    create? There is no way to suppress all error messages, though, so no
    guarantees it will work:

    http://support.microsoft.com/default.aspx?scid=kb;EN-US;259971

    Matt
     
    Matt Garrish, Jul 2, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Luis Esteban Valencia Muñoz

    Using Word/office ole automation with asp.net

    Luis Esteban Valencia Muñoz, Jun 3, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    1,899
    Luis Esteban Valencia Muñoz
    Jun 3, 2005
  2. Ptaku25
    Replies:
    2
    Views:
    339
    Serge Skorokhodov (216716244)
    Jul 18, 2005
  3. apondu
    Replies:
    0
    Views:
    609
    apondu
    Jul 19, 2007
  4. Peter Wilson

    Win 32 Ole, Word Automation

    Peter Wilson, Jul 15, 2003, in forum: Perl Misc
    Replies:
    0
    Views:
    152
    Peter Wilson
    Jul 15, 2003
  5. Greg Howard

    OLE Automation: question about Word SaveAs

    Greg Howard, Jul 2, 2004, in forum: Perl Misc
    Replies:
    1
    Views:
    133
    Matt Garrish
    Jul 2, 2004
Loading...

Share This Page