Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / January 2006

Tip: Looking for answers? Try searching our database.

Need help urgently!!!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sonu - 31 Jan 2006 04:31 GMT
My application needs to open a document(word,excel,pdf) in webform and
then if user edits the document then save the edited document back to
the database.How can i save the edited back to database that is
displayed in IE on a button click
Kevin Spencer - 31 Jan 2006 14:11 GMT
You cannot edit a document in a web form. First, only a copy of the document
is downloaded by the browser. Second, the browser cannot open these sorts of
documents. It uses external applications (such as Word, Excel, and Adobe
Reader) to open them. Now, let's say that a user downloads a Word document
and edits it. He/she is editing a *copy* of a document on the server. The
user therefore has to have a method of uploading the new version of the
document and saving it over the old. This is no easy task either. First, as
the document is not loaded in a browser, the user cannot save it using a
browser button click. The application that the browser uses to open the
document would have to do it. To do this, the app would have to know the URL
of the original document, be able to upload the document to the server, and
the server would have to be able to store the document in the appropriate
location.

We haven't even discussed security yet. You don't want everybody and their
brother to be able to upload and save documents over existing documents in a
web site. you may even want to keep backup copies of different versions on
the server. You may want users to be able to collaborate in some fashion.
All of this requires a good security model, and a well-thought-out desing of
both the client and server software to accomplish.

In other words, if you're an expert programmer, with a great deal of
knowledge about ASP.Net, HTTP, Security, and the client applications that
would be used for editing the documents, and if you had a team of a
half-dozen expert programmers to help you, you might be able to architect
and build such an app in 6 months to a year.

Your best bet is to use something like Windows Sharepoint Services, which
has all of this functionality built in.

Signature

HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
Who is Mighty Abbott?
A twin turret scalawag.

> My application needs to open a document(word,excel,pdf) in webform and
> then if user edits the document then save the edited document back to
> the database.How can i save the edited back to database that is
> displayed in IE on a button click

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.