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#
  4. How to Save word file using SaveDialogBox and File Stream

How to Save word file using SaveDialogBox and File Stream

Scheduled Pinned Locked Moved C#
tutorialquestion
4 Posts 3 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.
  • M Offline
    M Offline
    mandar777
    wrote on last edited by
    #1

    Hello all, I would like to save current word file to My Documents when user clicks on Button which is Placed in Ribbon ???? Can anybody guide me how to do it ???

    B A 2 Replies Last reply
    0
    • M mandar777

      Hello all, I would like to save current word file to My Documents when user clicks on Button which is Placed in Ribbon ???? Can anybody guide me how to do it ???

      B Offline
      B Offline
      Brij
      wrote on last edited by
      #2

      I would like to save current word file to My Documents. means? Why you are using savedialogbox when you have to save it in MyDocuments only :zzz:

      Cheers!! Brij

      M 1 Reply Last reply
      0
      • B Brij

        I would like to save current word file to My Documents. means? Why you are using savedialogbox when you have to save it in MyDocuments only :zzz:

        Cheers!! Brij

        M Offline
        M Offline
        mandar777
        wrote on last edited by
        #3

        i would like to save the word file on onclick event of my Button which is in Ribbon .....i don't want to use office inbuilt saving option.....

        1 Reply Last reply
        0
        • M mandar777

          Hello all, I would like to save current word file to My Documents when user clicks on Button which is Placed in Ribbon ???? Can anybody guide me how to do it ???

          A Offline
          A Offline
          Adam R Harris
          wrote on last edited by
          #4

          Ummm .... SaveFileDialog and System.IO.File.AppendAllText. I'm pretty sure your going to have to double check the names

          If at first you don't succeed ... post it on The Code Project and Pray.

          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