requirement similar to google docs

Last post 09-08-2009 3:38 AM by rtpHarry. 5 replies.

Sort Posts:

  • requirement similar to google docs

    09-07-2009, 7:50 AM
    • Member
      1 point Member
    • praveen.k
    • Member since 09-07-2009, 10:51 AM
    • Posts 13

     Hi guys,

                     i have a requierment like  when i click on excel sheet link which was uploaded it must open in an editable mode. Please do help me in resolveing this problem as soon as possible

     

     

    praveen
  • Re: requirement similar to google docs

    09-07-2009, 8:55 AM
    • All-Star
      36,622 point All-Star
    • rtpHarry
    • Member since 10-01-2006, 8:51 AM
    • Lincoln, England
    • Posts 5,909

    There is a technology called WebDAV which will let you serve office files and let them be opened in excell or word and then saved back to the server from excel or word.


    If you want the spreadsheets to be editable via the website then you are going to be looking at buying a commercial component.


    It depends on what level of control you have over the environment - are they all going to be xls files, or xlsx (2007) files? are they going to contain calculations or just straight data? if the requirements are simple then you might be able to attempt writing your own xls loader, convert it to database format and then allow editing and then allow export to xls....

  • Re: requirement similar to google docs

    09-07-2009, 9:03 AM

     Hi,

    Try this code

            Process Proc = new Process();
            Proc.StartInfo.FileName = "excel";
            Proc.StartInfo.Arguments = "C:\\Book1.xlsx";
            Proc.Start();


     

    Hope this helps.

    Cheers

  • Re: requirement similar to google docs

    09-07-2009, 10:34 AM
    • All-Star
      36,622 point All-Star
    • rtpHarry
    • Member since 10-01-2006, 8:51 AM
    • Lincoln, England
    • Posts 5,909

    Just to be clear - the Process() code suggested by Sangeeth will start up a copy of excel on the server not on a clients computer.

  • Re: requirement similar to google docs

    09-08-2009, 1:05 AM
    • Member
      1 point Member
    • praveen.k
    • Member since 09-07-2009, 10:51 AM
    • Posts 13

    Hi Harry,

                   Thanks for your reply. The thing is that  i can't afford to buy a third party component and if i can get any such components  for free of cost let me know. The requirement is  adding rows and columns and editing  online . As we click on save button the edited xls file replace the existing one and there should be an option where user can download the excel file. Harry, i think u know about google documents  where we can upload the documents and excel sheet. There is an option of adding rows and columns  and editing the uploaded excel sheet. If we can do in such a way please do let me know and post the code also. The requirement is urgent

                                                Thanks in advance 

    praveen
  • Re: requirement similar to google docs

    09-08-2009, 3:38 AM
    • All-Star
      36,622 point All-Star
    • rtpHarry
    • Member since 10-01-2006, 8:51 AM
    • Lincoln, England
    • Posts 5,909

    Hey,

    praveen.k:
    Thanks for your reply. The thing is that  i can't afford to buy a third party component and if i can get any such components  for free of cost let me know. The requirement is  adding rows and columns and editing  online . As we click on save button the edited xls file replace the existing one and there should be an option where user can download the excel file.

    I understand that you are on a budget but this means that you will have to get several tutorials and string them together yourself.

    There are tools that allow import of excel spreadsheets into a database:

    There are tools that allow bulk excel like editing:

    There are tools that allow export to excel spreadsheet:


    praveen.k:
    Harry, i think u know about google documents  where we can upload the documents and excel sheet. There is an option of adding rows and columns  and editing the uploaded excel sheet. If we can do in such a way please do let me know and post the code also. The requirement is urgent

    Yes its called WebDAV - there isnt a source code example I can give you because it is not that kind of technology. Its a feature that you can configure on IIS so that Microsoft Excel and Word can communicate directly to your server to save and load files. There isnt much information that I could find when I did a quick search for another question on these forums recently. I think you are just going to have to dig deep.

    Something you should think about is what your time is worth to you - dont spend 10s of man hours creating a solution that can be solved by buying a component.

Page 1 of 1 (6 items)