OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Steve Johnson (sjohnson3TSYSTEMS.COM)
Date: Thu May 23 2002 - 12:25:18 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    > How can i embed a word document into my application?, just like Word
    > XP do
    >>
    > What's your development language?
    >>
    > Delphi 5

    You can use the Web Browser control or the OLE Container control,
    neither of which are perfect for this. IIRC, The Web Browser control
    will give you a toolbar, but no menu and the OLE Container control
    will give you a menu, but no toolbar. Of course, if you are just
    displaying the document and need no UI, either of these will work,
    with my preference being the Web Browser control.

    I needed to embed Word docs with full UI in a couple of my apps and
    ended up writing my own container using ATL, which is a chore to say
    the least.

    Good Luck.

    --
    Steve Johnson
    3t Systems
    

    ---------------------------------------------------------------- Users Guide http://discuss.microsoft.com/archives/mailfaq.asp contains important info. Save time, search the archives at http://discuss.microsoft.com/archives/index.html . To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM