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. Web Development
  3. ASP.NET
  4. Split Word Document

Split Word Document

Scheduled Pinned Locked Moved ASP.NET
tutorial
14 Posts 6 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.
  • C Christian Graus

    How is this remotely related to ASP.NET ?

    Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

    G Offline
    G Offline
    Gaurav Dudeja India
    wrote on last edited by
    #3

    If user upload a word file then he can select to split that file into parts, then with button click the file is splitted into given number of parts and uploaded on server.

    C 1 Reply Last reply
    0
    • G Gaurav Dudeja India

      If user upload a word file then he can select to split that file into parts, then with button click the file is splitted into given number of parts and uploaded on server.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #4

      Well, that's never going to work. He can upload it, then split it on your site ? What UI will you use to show the document and work out where to split it ? Either way, the question you're asking is not an ASP.NET question, even tho you intend on using the code ( somehow ) in a website.

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      G 1 Reply Last reply
      0
      • C Christian Graus

        Well, that's never going to work. He can upload it, then split it on your site ? What UI will you use to show the document and work out where to split it ? Either way, the question you're asking is not an ASP.NET question, even tho you intend on using the code ( somehow ) in a website.

        Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

        G Offline
        G Offline
        Gaurav Dudeja India
        wrote on last edited by
        #5

        no Actually I am developing a control in which there is a file upload control a textbox and a button, 1.. user selects the file. 2.. enter the numeric value in textbox, that how many parts will be generated of that file 3..then clik the button. finally the file will splitted with given parts and uploaded to server...

        C 1 Reply Last reply
        0
        • G Gaurav Dudeja India

          no Actually I am developing a control in which there is a file upload control a textbox and a button, 1.. user selects the file. 2.. enter the numeric value in textbox, that how many parts will be generated of that file 3..then clik the button. finally the file will splitted with given parts and uploaded to server...

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #6

          Gaurav Dudeja India wrote:

          finally the file will splitted with given parts and uploaded to server...

          Surely you mean, the file is uploaded to the server, and then split into parts ? I'm not sure I see the purpose of this, but again, your core question is not an ASP.NET question.

          Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

          G 1 Reply Last reply
          0
          • C Christian Graus

            Gaurav Dudeja India wrote:

            finally the file will splitted with given parts and uploaded to server...

            Surely you mean, the file is uploaded to the server, and then split into parts ? I'm not sure I see the purpose of this, but again, your core question is not an ASP.NET question.

            Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

            G Offline
            G Offline
            Gaurav Dudeja India
            wrote on last edited by
            #7

            no actually u cant understand my question, File is splitted while uploading on server, not after uploaded.. and this control is in asp.net

            C 1 Reply Last reply
            0
            • G Gaurav Dudeja India

              no actually u cant understand my question, File is splitted while uploading on server, not after uploaded.. and this control is in asp.net

              C Offline
              C Offline
              Christian Graus
              wrote on last edited by
              #8

              I didn't understand before, now I do. You are totally lost. If you had any idea what ASP.NET is, and what it does, you would know that it's impossible to write 'a control in ASP.NET' that splits a file on the client and then uploads the parts. Even a text file, a Word file would be more complex. Either way, I hope you didn't tell the guy whose rentacoder job you bid on that you'd do this. The people who hire folks like you are also dumb as toast, they are very likely to write requirements that are impossible. This is one of those times.

              Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

              G N B 3 Replies Last reply
              0
              • C Christian Graus

                I didn't understand before, now I do. You are totally lost. If you had any idea what ASP.NET is, and what it does, you would know that it's impossible to write 'a control in ASP.NET' that splits a file on the client and then uploads the parts. Even a text file, a Word file would be more complex. Either way, I hope you didn't tell the guy whose rentacoder job you bid on that you'd do this. The people who hire folks like you are also dumb as toast, they are very likely to write requirements that are impossible. This is one of those times.

                Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                G Offline
                G Offline
                Gaurav Dudeja India
                wrote on last edited by
                #9

                Excuse me i know that what i doing, and i made a control that splits the word file and upload it on server , but the problem is that the data in splitted documents is simple text without formatting and i also want formatting,

                N C 2 Replies Last reply
                0
                • C Christian Graus

                  I didn't understand before, now I do. You are totally lost. If you had any idea what ASP.NET is, and what it does, you would know that it's impossible to write 'a control in ASP.NET' that splits a file on the client and then uploads the parts. Even a text file, a Word file would be more complex. Either way, I hope you didn't tell the guy whose rentacoder job you bid on that you'd do this. The people who hire folks like you are also dumb as toast, they are very likely to write requirements that are impossible. This is one of those times.

                  Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                  N Offline
                  N Offline
                  N a v a n e e t h
                  wrote on last edited by
                  #10

                  Aren't you tired, Christian? :(

                  Best wishes, Navaneeth

                  1 Reply Last reply
                  0
                  • G Gaurav Dudeja India

                    Excuse me i know that what i doing, and i made a control that splits the word file and upload it on server , but the problem is that the data in splitted documents is simple text without formatting and i also want formatting,

                    N Offline
                    N Offline
                    Not Active
                    wrote on last edited by
                    #11

                    I'll second Christian's opinion


                    only two letters away from being an asset

                    1 Reply Last reply
                    0
                    • C Christian Graus

                      I didn't understand before, now I do. You are totally lost. If you had any idea what ASP.NET is, and what it does, you would know that it's impossible to write 'a control in ASP.NET' that splits a file on the client and then uploads the parts. Even a text file, a Word file would be more complex. Either way, I hope you didn't tell the guy whose rentacoder job you bid on that you'd do this. The people who hire folks like you are also dumb as toast, they are very likely to write requirements that are impossible. This is one of those times.

                      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                      B Offline
                      B Offline
                      Bassam Saoud
                      wrote on last edited by
                      #12

                      For once I agree with you, I couldnt say it better

                      1 Reply Last reply
                      0
                      • G Gaurav Dudeja India

                        Excuse me i know that what i doing, and i made a control that splits the word file and upload it on server , but the problem is that the data in splitted documents is simple text without formatting and i also want formatting,

                        C Offline
                        C Offline
                        Christian Graus
                        wrote on last edited by
                        #13

                        Gaurav Dudeja India wrote:

                        Excuse me i know that what i doing

                        If you think so, why are you asking us for help ?

                        Gaurav Dudeja India wrote:

                        i made a control that splits the word file and upload it on server

                        If it splits the file, then uploads it, where is the code that does the work ? I assume it's not javascript ? Is it a COM object ? You said it's ASP.NET code, so I can only assume, like I said, that your code works BECAUSE you're testing on a machine that is both server and client. When you deploy this, it won't work, nor can it.

                        Gaurav Dudeja India wrote:

                        but the problem is that the data in splitted documents is simple text without formatting and i also want formatting,

                        Perhaps you should ask the question clearly in the first place, and post some code, rather than asking a vague question, so we can see what you're doing and we can PROVE that you're lost instead of arguing about it.

                        Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                        1 Reply Last reply
                        0
                        • G Gaurav Dudeja India

                          I am trying to split a word document into multiple parts with formatting ,can anybody knows how to do this.

                          L Offline
                          L Offline
                          Lost User
                          wrote on last edited by
                          #14

                          Word document format is a proprietary format of Microsoft. If you split them, the file may become unusable. If disk space is an issue, try to compress the files using zip libraries.

                          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