Printing Word Document Using word viewer


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: Printing Word Document Using word viewer

  1. #1
    Yee Khuan Hoe Guest

    Printing Word Document Using word viewer


    Does anybody know how to print a word document using Visual C without using
    microsoft office word (but with microsoft word viewer)? Assuming the user
    already installed microsoft wordviewer but he didn't install microsoft
    office, and once the user executes my program, I will print the document
    using word viewer but without user interaction on it.

  2. #2
    Ray Yang Guest

    Re: Printing Word Document Using word viewer

    I think you can use ShellExec.
    -Ray Yang
    eMail: rayyang2000@yahoo.com
    ICQ: 26555015
    Homepage: http://rayyang.yeah.net (Pls visit Work Area)

  3. #3
    Yee Khuan Hoe Guest

    Re: Printing Word Document Using word viewer


    Yup I already tried but unfortunately word viewer does not support shellexec
    for printing, it only can use shellexec to open the document.

  4. #4
    Assaf Lavie Guest

    Re: Printing Word Document Using word viewer

    Is it COM-aware at all this Word-Viewer? (never used it..)


    --
    Assaf Lavie.


    "Yee Khuan Hoe" <khuanhoe.yee@vmstech.po.my> wrote in message
    news:3a5e5778$1@news.devx.com...
    >
    > Yup I already tried but unfortunately word viewer does not support

    shellexec
    > for printing, it only can use shellexec to open the document.




  5. #5
    Yee Khuan Hoe Guest

    Re: Printing Word Document Using word viewer


    what did u mean by COM-aware at all?
    "Assaf Lavie" <AssafLavie@_Hotmail.com> wrote:
    >Is it COM-aware at all this Word-Viewer? (never used it..)
    >
    >
    >--
    >Assaf Lavie.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center