|
-
Sep 11th, 2006, 03:21 AM
#1
Thread Starter
Hyperactive Member
Open Word document on client machine
Guys
I have an c# intranet application from which I need to be able to open a Word document client side.
Any ideas?
Peter
The Bloke
www.blokeinthekitchen.com
making cooking cool for blokes
-
Sep 11th, 2006, 08:53 AM
#2
Frenzied Member
Re: Open Word document on client machine
 Originally Posted by thebloke
Guys
I have an c# intranet application from which I need to be able to open a Word document client side.
Any ideas?
Peter
what do you mean open a document on client machine?
u mean if i have a doc on my machine and i go to your website and u automatically open that?
you cant do that for security reasons
-
Sep 11th, 2006, 10:05 AM
#3
Re: Open Word document on client machine
Do you mean... a web application?
If the DOC is on the server, then you can Response.Redirect() to the doc file, and the browser will handle it automatically.
-
Sep 11th, 2006, 10:25 AM
#4
Thread Starter
Hyperactive Member
Re: Open Word document on client machine
I need to open a word document and send it to a printer from a asp.net c# web page.
The web page is on our internal network, as is the word document but I don't want a lot of people opening instances of winword.exe on the server so it would be preferable for the web application to open an instance of word on the client machine.
The Bloke
www.blokeinthekitchen.com
making cooking cool for blokes
-
Sep 11th, 2006, 11:11 AM
#5
Fanatic Member
Re: Open Word document on client machine
There is a COM control called DSOFramer.ocx which you can have a look at, to resolve your problem. We had used it in a Desktop application and hence don't know how it behaves on Web (but the purpose of the ocx is to host MSOffice apps). For a better idea how it looks you can visit this page (and I'm assuming they have used DSOFramer to launch Word even though I don't see any WINWORD.exe instance when this page is opened). Also be advised that the functionality exposed through DSOFramer is very limited even on desktop applications.
Hope it helps.
-
Sep 12th, 2006, 04:27 AM
#6
Re: Open Word document on client machine
 Originally Posted by thebloke
I need to open a word document and send it to a printer from a asp.net c# web page.
The web page is on our internal network, as is the word document but I don't want a lot of people opening instances of winword.exe on the server so it would be preferable for the web application to open an instance of word on the client machine.
Reponse.Redirect to the DOC file. It will open on the client machine.
-
Sep 12th, 2006, 04:34 AM
#7
Thread Starter
Hyperactive Member
Re: Open Word document on client machine
Unfortunately not quite that simple. We need it to open in the background, merge some data, send it to the printer and close again.
Looks like we've sorted it server side now, but thanks.
The Bloke
www.blokeinthekitchen.com
making cooking cool for blokes
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|