473,288 Members | 2,725 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,288 software developers and data experts.

I have this print file

Hi!!
I'm new in c#

I have this:
PrintDocument pd = new PrintDocument();
pd.PrintPage += new
PrintPageEventHandler(this.PrintPageEvent);
pd.Print();

And i have a file myFile.something
How do i print this file ?
Nov 30 '21 #1
0 9688

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Peter Treier | last post by:
Hi NG i'm trying to read this XML File <?xml version="1.0"?> <Licence> <Company>Noting</Company> <Type>Workgroup</Type> <Count>5</Count> <ProduktName>AMKCD</ProduktName>
3
by: Sam | last post by:
Hi Everybody, I'm using C# and System.XML and can parse XML files like this: <LogIn>Yes</LogIn> <Name>DB_MAGUser</Name> but I've been asked to parse and work with a XML file that looks...
1
by: christian.Blackburn | last post by:
Hi Gang, On my development system I am not getting this error, but it does happen when I upload it to my ISP. Can someone tell me why this is happening? I don't have any user-defined controls...
1
by: Larry Epn | last post by:
I've created a project from Microsoft's "club.vsi". I don't want inline code so I've separated all aspx and ascx pages into code-behind pages. I'm compiling the project and continue to get this...
1
by: Randy | last post by:
I'm using VS 2003. I have a c# ASP project. Lately, when I've been running the project in the IDE, I get a dialog which says... "This source file has changed. It no longer matches the version of...
2
by: lichaoir | last post by:
hi, i want to write a xsl file for the following xml file, and use this xsl file as the transform file of XmlDataSource. How to write it? <?xml version="1.0" encoding="utf-8"?> <students>...
1
xtianixm
by: xtianixm | last post by:
i know using shellexecute will do. but how about i create a file "print.file". when i used shellexecute it doesnt print directly..can anyone help me on this..how can i print a file with an...
1
by: swamyvnvs | last post by:
Hi friends I am using Jasper reports in php, so iam generating pdf file using java code, i want run this java code using bat file, this bat file is run from php, how to run this bat file from php...
7
Srijith B
by: Srijith B | last post by:
I am trying to print file information using ffmpeg tool in perl Here is my code use strict; use warnings; use IPC::Open3; # example
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

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.