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. menu

menu

Scheduled Pinned Locked Moved C / C++ / MFC
json
4 Posts 2 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.
  • S Offline
    S Offline
    sundar_mca
    wrote on last edited by
    #1

    I have created a menu in win32 api.In that menu i have inserted "Word","excel" like menus.In that when i clicked word it opens word document,in word i enter a some text and when i am going to save the document it should save only in particular folder only .How it can be possible.Give me some idea to do me.:((

    _ 1 Reply Last reply
    0
    • S sundar_mca

      I have created a menu in win32 api.In that menu i have inserted "Word","excel" like menus.In that when i clicked word it opens word document,in word i enter a some text and when i am going to save the document it should save only in particular folder only .How it can be possible.Give me some idea to do me.:((

      _ Offline
      _ Offline
      _AnsHUMAN_
      wrote on last edited by
      #2

      Put the address of the folder in which you want to save your documents into the registry (at the time of opening the document).These changes will be made to the registry entry of Word.Now when you ask word to save a file it would automatically read the same path always. You will have to search where word stores these registry values Give it a Try at this and if you have some problem get back to me. Wishes. Anshuman Dandekar Dare to Dream, Care to Achieve............. -- modified at 7:24 Wednesday 8th February, 2006

      S 1 Reply Last reply
      0
      • _ _AnsHUMAN_

        Put the address of the folder in which you want to save your documents into the registry (at the time of opening the document).These changes will be made to the registry entry of Word.Now when you ask word to save a file it would automatically read the same path always. You will have to search where word stores these registry values Give it a Try at this and if you have some problem get back to me. Wishes. Anshuman Dandekar Dare to Dream, Care to Achieve............. -- modified at 7:24 Wednesday 8th February, 2006

        S Offline
        S Offline
        sundar_mca
        wrote on last edited by
        #3

        That ok sir using win32 api is any function to control the operation.If i use that in my application it will affect the actual word operation or not.

        _ 1 Reply Last reply
        0
        • S sundar_mca

          That ok sir using win32 api is any function to control the operation.If i use that in my application it will affect the actual word operation or not.

          _ Offline
          _ Offline
          _AnsHUMAN_
          wrote on last edited by
          #4

          Search MSDN for GetOpenFileName / GetSaveFileName function . Wishes. Anshuman Dandekar Dare to Dream, Care to Achieve.............

          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