Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / General / November 2004

Tip: Looking for answers? Try searching our database.

printing excel file without using automation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Darklight - 30 Nov 2004 09:39 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.

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)

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.