Hi, does anybody have any idea how I can do this?
I would like to avoid instantiating an excel application object as much as
possible.
I am able to read the file already by using ADO.NET.
I would like to be able to finally remove the reference from my project file.
thanks in advance.
Cor Ligthert - 30 Nov 2004 10:36 GMT
Darklight
In my opinion can it be possible only to use the Process and
ProcessStartInfo class for what you ask
This page would probably give you enough information or further links to
investigate that.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlr
fSystemDiagnosticsProcessStartInfoClassTopic.asp
I hope this helps?
Cor
"Darklight" <Darklight@discussions.microsoft.com>
...
> Hi, does anybody have any idea how I can do this?
>
[quoted text clipped - 5 lines]
>
> thanks in advance.
Paul Clement - 30 Nov 2004 15:48 GMT
¤ Hi, does anybody have any idea how I can do this?
¤
¤ I would like to avoid instantiating an excel application object as much as
¤ possible.
¤ I am able to read the file already by using ADO.NET.
¤ I would like to be able to finally remove the reference from my project file.
In what format do you want to print the data? Since you can retrieve it using ADO.NET you should
have several options. Crystal Reports would be one of them. You could also use a custom DataGrid
component:
http://www.dotnet247.com/247reference/a.aspx?u=http://www.c-sharpcorner.com/Grap
hics/DataGridPrinterMG.asp
Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)