By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,837 Members | 1,358 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,837 IT Pros & Developers. It's quick & easy.

PIA office doesn't work

P: n/a
hi,
i've download pia office for c#
i've install them in the gac
i've made a reference in my c# code and it seems to work
well as i can acess to the property of the excel object
i've created
but
the dialog box (which appear after the dos command) of
the microsoftapplicationexcel have no property for security
when i run my programm i get an exception as the com
object is not valid or is not registered

i'm working with VS.NET2003 on NT2000 and have no pack
office on my computer

thanks

Nov 22 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
theirry,
you said,
i'm working with VS.NET2003 on NT2000 and have no pack
office on my computer
I take that to mean, VS.NET 2003, Windows 2000, and you have not installed
MS Office on your machine.
Is that right?

The PIAs allow programmatic access to MS Office. If you don't have Office,
then you cannot use the PIAs for Office.

-Dino
"thierry" <an*******@discussions.microsoft.com> wrote in message
news:09****************************@phx.gbl... hi,
i've download pia office for c#
i've install them in the gac
i've made a reference in my c# code and it seems to work
well as i can acess to the property of the excel object
i've created
but
the dialog box (which appear after the dos command) of
the microsoftapplicationexcel have no property for security
when i run my programm i get an exception as the com
object is not valid or is not registered

i'm working with VS.NET2003 on NT2000 and have no pack
office on my computer

thanks

Nov 22 '05 #2

P: n/a
If you want to automate Excel, you need to have Excel installed on the
machine.
PIA's do not change this. PIAs only provide a nice interface for .NET apps
to do the same thing.

Think of PIAs as a connector between a .NET application and MS Excel. If MS
Excel isn't installed, the connector is useless.

On the other hand if you want to create a document, a file that can be read
by Excel, there are several options for doing this without requiring that
Excel be installed locally. One of the ways is to use the OLEDB provider
for MS Excel. Another way is to produce your output in a .csv file that
Excel can read. Or an xml file that Excel can read.

Check the archives for hints.

-Dino
<an*******@discussions.microsoft.com> wrote in message
news:0a****************************@phx.gbl...

hi,
i've seen on the website of microsoft that the pia i've
download could run my program without office
in fact i was trying to get a solution for not put office
on the main server where i am working
so how can i do to do so, in fact how can i make my
programm of excel automation independant ?
thanks

Nov 22 '05 #3

P: n/a
If you want to automate Excel, you need to have Excel installed on the
machine.
PIA's do not change this. PIAs only provide a nice interface for .NET apps
to do the same thing.

Think of PIAs as a connector between a .NET application and MS Excel. If MS
Excel isn't installed, the connector is useless.

On the other hand if you want to create a document, a file that can be read
by Excel, there are several options for doing this without requiring that
Excel be installed locally. One of the ways is to use the OLEDB provider
for MS Excel. Another way is to produce your output in a .csv file that
Excel can read. Or an xml file that Excel can read.

Check the archives for hints.

-Dino
<an*******@discussions.microsoft.com> wrote in message
news:0a****************************@phx.gbl...

hi,
i've seen on the website of microsoft that the pia i've
download could run my program without office
in fact i was trying to get a solution for not put office
on the main server where i am working
so how can i do to do so, in fact how can i make my
programm of excel automation independant ?
thanks

Nov 22 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.