Printing a File

chmilz

New member
Joined
Feb 7, 2005
Messages
1
Programming Experience
1-3
Hello all,

Have an interesting question. I have file paths to .GIF files stored in an SQL Database and I was wondering if it was possible to code a button on a form that would loop through the file names in the DB and print each of those files out.

Is it possible to print a file by only supplying the file name? If it is would someone be so kind as to give me an example?

Thanks for all of your help!

Cheers!

Curtis
 
Printing in VB.Net is a little more complicated than what you are looking for. I would suggest doing a google search. You will need to set up a print document, handle different events (Print, PrintPage, etc). Look for a tutorial to walk you through doing the basic printing before getting into printing graphics.
 
Back
Top