Connecting Tech Pros Worldwide Forums | Help | Site Map

ASP working with MS Office

Eilsa
Guest
 
Posts: n/a
#1: Jul 22 '05
I want to read the MS Word and XLS documents with ASP code for searching. Is
there are any solution for me or any reference?

Thanks

Best Regards,
eilsa



Bob Barrows [MVP]
Guest
 
Posts: n/a
#2: Jul 22 '05

re: ASP working with MS Office


Eilsa wrote:[color=blue]
> I want to read the MS Word and XLS documents with ASP code for
> searching. Is there are any solution for me or any reference?
>[/color]
You could use Automation, but that is not recommended in server-side code:
http://support.microsoft.com/default...b;en-us;257757

You can use ADO to read Excel files. I don't have an example of this, but
Google should get you at least a few examples.

I don't have an alternative solution for Word. Maybe somebody else does.

Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


io
Guest
 
Posts: n/a
#3: Jul 22 '05

re: ASP working with MS Office




"Eilsa" <eilsa@eilsa.com> wrote in message
news:OWPy4UX7EHA.1400@TK2MSFTNGP11.phx.gbl...[color=blue]
> I want to read the MS Word and XLS documents with ASP code for searching.[/color]
Is[color=blue]
> there are any solution for me or any reference?
>[/color]

Depends on what exactly the searching is. If you want complete programmatic
control with access to internal object hierarchies you can use MS Word and
Excel object libraries, but that will definetely take some progrmming time
and most likely will be achieved by creating you custom ActiveX DLL.

Cheers


Closed Thread