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 / General / April 2005

Tip: Looking for answers? Try searching our database.

Manipulate MSOffice programs from web page or smart client?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
R Reyes - 01 Apr 2005 17:03 GMT
Hi, what is the best way to manipulate MSOffice programs?  i understand that
regular web pages do not have the permissions (because of safety measures) to
open up MS word/excel programs, for example, from a web site.

What I need is a strategy for the best way to open up word/excel
applications and manipulate them by adding/removing text, formatting, and
doing mail merge types of transactions.  Would ActiveX be the best strategy
to accomplish this from a web page?

I am trying NOT to make a desktop application only because people want to be
able to use this program from remote locations.  I have also taken a look at
smart clients but I am not sure how difficult it is to code them or if it is
even a good idea?

Any thoughts or comments are welcome.  Thanks in advance.
MJT - 24 Apr 2005 18:21 GMT
Assuming you just want to do manipulation Office docs in the background,
without any UI, I suggest you write a COM object which uses Automation calls
(aka ActiveX) to control Office apps, then install that under COM+, running
under a standard account X.  You should then ensure the user profile for X is
always loaded on the server, for example by running some random Service under
account X.  Call the COM object from ASP or ASP.Net.

MS does not support this sort of thing, but it works just fine.  

Obviously you should make sure you have suitable Office licences...

> Hi, what is the best way to manipulate MSOffice programs?  i understand that
> regular web pages do not have the permissions (because of safety measures) to
[quoted text clipped - 11 lines]
>
> Any thoughts or comments are welcome.  Thanks in advance.

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



©2009 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.