Is Office required on End user's PC ?

S

Scott H

I've been developing an app that makes use of MS Word 11 Object
Library, it creates a Word.Application, loads a doc and prints it, and
it works very well on several PCs we have here that have Office 2003
installed.

I've installed it (using ClickOnce) on a new PC without office, and
the app works fine, except when it comes to do some printing using the
above mentioned thing. it says it can't create activeX object.

If I were to install Office 2003 on it, it would work fine no doubt.
Is this right? I was under the assumption that I could distribute the
nessesary files for it to work on any PC, regardless of whether it has
Office installed.

If this is the case, what references should I have in my project?
I have:
Microsoft.Office.Core
Word

Are these the only two I need?


Scott
 
H

Herfried K. Wagner [MVP]

Scott H said:
I've been developing an app that makes use of MS Word 11 Object
Library, it creates a Word.Application, loads a doc and prints it, and
it works very well on several PCs we have here that have Office 2003
installed.

I've installed it (using ClickOnce) on a new PC without office, and
the app works fine, except when it comes to do some printing using the
above mentioned thing. it says it can't create activeX object.

If I were to install Office 2003 on it, it would work fine no doubt.
Is this right?

If your application uses the Word object model, Word must be installed. In
addition to that, note that applications started directly from the browser
do not have all permissions (this is indicated by the small yellow
exclamation mark in the application's title bar).
 
S

Scott H

Thanks for your replies.
So, a follow up question would be... any recomendations as to do this an
alternative way, I was thinking maybe using Crystal reports, but before I
do, will it install everything with my app to make it display and print
the reports, or will the end-user need to buy that too?

All I really need it to do is have templates that the user can edit, Eg.
change the header with their own company logo. Then my app would fill in
various parts of the templates with data from a SQL server, and then
either display them on screen or print them.

I've never used crystal reports before in VB, dispite having been
programming in VB for about 8 years :)

Scott H
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top