473,396 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

PIA office doesn't work

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
3 2015
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Mike | last post by:
I can not figure out what is going on here. I hope somebody can please help!!! I've got an intranet ASP3 application running on a Win2k server. This application requires a login, so the user...
3
by: Chuck Arney | last post by:
After installing Office 2003 PRO and attempting to run SETUP to install the Visual Studio Tools for Office version 2003, I get the error message "Your computer must have Microsoft Office...
2
by: thierry | last post by:
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...
4
by: Hawkmoth | last post by:
Hi I hope you can help with what seems to be a simple problem that is driving me nuts! I am developing a C# application using Visual studio 2003 and I need to use Office 2003 automation. In...
11
by: Peter Rietkerk | last post by:
I have a few questions regarding the referencing of web services using this toolkit. I am currently trying to reference a specific URL to WSDL that was generated on a local server. Does anyone know...
5
by: Michael Russell | last post by:
Hi all, Using C#, I've created a simple wrapper class for using Excel. I have Office Pro 2003 installed on my devel machine. The wrapper class works great, reading and writing to/from Excel. ...
10
by: JonathanOrlev | last post by:
Hello everybody, I wrote this comment in another message of mine, but decided to post it again as a standalone message. I think that Microsoft's Office 2003 help system is horrible, probably...
11
by: Don | last post by:
QUESTIONS: 1. Has anyone figured out how to successfully install the Office 97 Pro Service Release 2 patch in Vista? 2. Has anyone successfully installed an Office 97 Pro CD (SR2 version) in...
1
by: tamasumalta | last post by:
Hi, I am adding a reference to Microsoft Word Office 11 under the COM tab. I will do the coding required to work with word from vb.net, what happens if the client does not have OFFICE 2003...
1
by: =?Utf-8?B?YmJydWVzdGxl?= | last post by:
I am trying to add a new category to the scrapbook in Office 2008, but in the Categories dialog box the New and the Delete buttons at the top of the dialog box are grayed out and not available....
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.