Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. launch a word processor(MS Word) in an MS Visual C++ dialog based application

launch a word processor(MS Word) in an MS Visual C++ dialog based application

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestion
8 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zigie
    wrote on last edited by
    #1

    Can anybody help me? I want to launch a word processor(MS Word) in an MS Visual C++ dialog based application. How this can be done exactly. Thanks in advance for your help.

    V _ D 3 Replies Last reply
    0
    • Z zigie

      Can anybody help me? I want to launch a word processor(MS Word) in an MS Visual C++ dialog based application. How this can be done exactly. Thanks in advance for your help.

      V Offline
      V Offline
      Victor Nijegorodov
      wrote on last edited by
      #2

      Would you like to embed MS Word into your dialog or just spawn the MS Word application from your dialog?

      Z 1 Reply Last reply
      0
      • Z zigie

        Can anybody help me? I want to launch a word processor(MS Word) in an MS Visual C++ dialog based application. How this can be done exactly. Thanks in advance for your help.

        _ Offline
        _ Offline
        _Flaviu
        wrote on last edited by
        #3

        Have you tried to insert a rich edit control on your dialog ? See CRichEditCtrl Class | Microsoft Docs[^]

        Z 1 Reply Last reply
        0
        • Z zigie

          Can anybody help me? I want to launch a word processor(MS Word) in an MS Visual C++ dialog based application. How this can be done exactly. Thanks in advance for your help.

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          Have you considered ShellExecute()?

          "One man's wage rise is another man's price increase." - Harold Wilson

          "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

          "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

          Z 1 Reply Last reply
          0
          • V Victor Nijegorodov

            Would you like to embed MS Word into your dialog or just spawn the MS Word application from your dialog?

            Z Offline
            Z Offline
            zigie
            wrote on last edited by
            #5

            open MS Word from the dialog

            V 1 Reply Last reply
            0
            • _ _Flaviu

              Have you tried to insert a rich edit control on your dialog ? See CRichEditCtrl Class | Microsoft Docs[^]

              Z Offline
              Z Offline
              zigie
              wrote on last edited by
              #6

              Don't have much idea about it...

              1 Reply Last reply
              0
              • D David Crow

                Have you considered ShellExecute()?

                "One man's wage rise is another man's price increase." - Harold Wilson

                "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

                Z Offline
                Z Offline
                zigie
                wrote on last edited by
                #7

                Trying now... Thanks for your help

                1 Reply Last reply
                0
                • Z zigie

                  open MS Word from the dialog

                  V Offline
                  V Offline
                  Victor Nijegorodov
                  wrote on last edited by
                  #8

                  Then use ShellExecute(Ex).

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups