Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MSWord Displayed In ASP.Net Page?

Status
Not open for further replies.

Insider1984

Technical User
Feb 15, 2002
132
US
I'm typically a Application guy but recently came across a need for a page to contain a "control" which supports word processing type capabilities.

Immediately my head went back to a time where I used the MS Office components to have instances of excel and word inside my application for easy editing (at the time it was corp standard to have Word 2003 installed on every PC at the company).

So after a little playing (I call it playing because I'm no expert in ASP pages etc).... I can't seem to "convert" my UserControl to a WebControl. I'm at the point where I can open the document I want and it will actually open *WINWORD*. I can't figure out how to associate WINWORD's parent window to the ASP Page....

I've searched a bit and found a few cases where people are using the API into spell check and other functions:


But nothing about using the application itself.

Finally I should ask, if this can be done are there licensing issues to consider here?

Any ideas?

=====================
Insider
4 year 'on the fly' programmer
C, C++, C#, MFC, Basic, Java ASP.NET
 
The problem here (if I've understood your situation correctly) is that any code you write to open a document will do so on the server and not the client. So, if you open an instance of Word, it will open on the server but I won't see it because I'm just using a browser to view your page.

What I think you might be after, is some kind of RTF editor such as

____________________________________________________________
Mark,
[URL unfurl="true"]http://aspnetlibrary.com[/url]

Need help finding an answer? Try the Search Facility or read FAQ222-2244.
 
Yes sort of but on the application side in the past I was able to get the word's parent window reassigned to my form window so it would open up inside the application. I guess I was hoping to do the same thing with an ASP Page:




=====================
Insider
4 year 'on the fly' programmer
C, C++, C#, MFC, Basic, Java ASP.NET
 
I assume if I go down ActiveX then each person who uses the webapp would need installed a copy of word?

=====================
Insider
4 year 'on the fly' programmer
C, C++, C#, MFC, Basic, Java ASP.NET
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top