473,890 Members | 1,990 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

upload word doc in asp.net

As all my users are intranet-based and have the Office package
installed.
I have decided to stream a server-stored document into a web browser,
so that the user can use Microsoft Word to modify the document. (I
don't care if this opens it in the browser or in word itself out of
the browser, as I have seen it depends on a activeX setting).

Now, my problem is to upload the document in the server without too
much hassle for the user (i.e.: he saves it locally, switches to the
web form, clicks on an upload button...)

How can I do that?
Nov 18 '05 #1
2 3126
If you're using a browser there is not much you can do as the Upload/Browse
button is really the only way that HTML supports file uploads.

The only other option would be to use some sort of ACtiveX component in the
browser (or use a Fat/Rich client app) to manage the document. If you build
a client you can download the file, provide the Edit ui and then monitor the
file status. As soon as it's closed it could be automatically updated and
uploaded. But this won't be an easy task and of course require messy ActiveX
operation.

Alternatives include using a .Net form downloaded from the Web but you will
need to configure rights...

Not an easy undertaking <g>... I think any way you slice it there will be
configuration problems or extra user steps to get around the (intentional)
security barriers to this problem.

+++ Rick ---

--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
----------------------------------
Making waves on the Web
"msdev" <sa********@kat amail.com> wrote in message
news:f4******** *************** ***@posting.goo gle.com...
As all my users are intranet-based and have the Office package
installed.
I have decided to stream a server-stored document into a web browser,
so that the user can use Microsoft Word to modify the document. (I
don't care if this opens it in the browser or in word itself out of
the browser, as I have seen it depends on a activeX setting).

Now, my problem is to upload the document in the server without too
much hassle for the user (i.e.: he saves it locally, switches to the
web form, clicks on an upload button...)

How can I do that?

Nov 18 '05 #2
How about using a frameset in an aspx page? One frame having the word
plugin, the other one having a button which closes down the other
frame and uploads the local file, giving the user the impression to
"save and close".
Is it feasible?
Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3738
by: Amy Kimber | last post by:
Hello all, ok, I have a file upload secton to my site, two pages, one with a form and one that does the uploading.... some files upload fine, other don't an exe of 300k will upload, but a word document of 40k wont and so on, in the php.ini a limit of 2mb is set (I haven't changed it, it's how the file originally as, so it isn't my maths that's gone mad).
32
3743
by: Ray at | last post by:
I despise installing third party software on my workstations or servers. It is for this reason that I use componentless-upload for file uploads. This is no longer an option, and I have to purchase an upload component. For someone who hates third party software and also does not want any kind of nonsense "bonus" features like progress bars or whatever, can anyone recommend a component for me? The cost doesn't really matter. I am aware...
4
9924
by: weiwei | last post by:
Hi All I want to upload either image or word document into either access or SQL server database so far I am doing some small testings and what I can do is upload the file from first page and display at the next page with (both image or word are working fine). however, I cann't insert them into the database, Plus, what type should I use in access database? anyone who has this type of project, please help me out below is my current test...
8
23660
by: W. de Jonge | last post by:
Who can help me? I want to create a link(href) which opens an .doc or an ..xls directly in MS Word or MS Excell and not in IE so that I don't have to save the document first en open it from Explorer. I asked our webmaster at the office but he didn't know the answer so I hope you can help me. Greetz Willem
3
1520
by: jhanzl | last post by:
All - I am looking into a way of uploading just the first portion of a large (> 100M) .csv (text) file to the server. Ultimately what I want to do is read the first line of the .csv file, which has the column headers for the file for field mapping to a server-side database WITHOUT actually having to upload the entire file to the server. The files are simply too large to have to wait for the upload to complete before proceeding to the...
2
3180
by: gerard.buskermolen | last post by:
Hello world, I have an ASP.NET application that returns HTML to the browser that should be read by MS Word. To do this I set Response.ContentType = ContentType.Word and render the HTML. The browser (IE6.0) shows a dialog box which enables the user to Open the HTML in Word or save it to disk. So far so good.
4
5497
by: kev | last post by:
Hi folks, I have created a database to store information on equipments. During the first level of registration, there is a form that i need the user to fill up details on the equipment testing. i have done this one.Now what i need is to enable the users to upload files and save it into the corresponding table. Example: 3. A laser inventory form has been completed for each 3b or 4 laser and submitted to the Laser Safety Officer...
6
3349
by: =?ISO-8859-1?Q?J=F8rn?= Dahl-Stamnes | last post by:
I have a strange problem when uploading a PDF document to a web-server. When I try this to a web-server running Apache 2 on a FC 4, it fails. Firefox says that the document contain no data. If I upload it to a different web-server running RH 7.3 (an internal test-webserver), it works OK. The PDF document is created by OpenOffice 2.0 from a MS Word document. I have also had it converted to PDF in MS Word that could create PDF documents....
7
2620
by: MDB | last post by:
Anyone have any pointers / links / examples on how to upload files through FTP? I am currently using the built in file upload control however it seems to take a very long time to upload files and would like to explore other ways of doing it. Any pointers or suggestions would greatly be appreciated.
0
9812
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11210
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10795
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10444
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
8001
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7154
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6032
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4255
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3261
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.