Printing a Simple Report in VB6
Posted on 2001-09-12
I need to print a *simple* report from VB6.
Need the distributed program to be small.
Ie. Do not wish to distribute Crystal etc.
I have produced the report using datareport,but, this seems??.. to increase the size of the distributed program a lot! Needs..MDAC_TYP.EXE (IS THIS CORRECT??) OR Am I Wrong.
If I,Place the report Info formatted in list1.
Dim SEARCH As Integer
For SEARCH = 0 To List1.ListCount - 1
Printer.Print List1.List(SEARCH) '
I do get a result. but...
1. Can i get a printer dialog, ie windows select printer??
2. Can i put page breaks in.
Appreciate any Expert Comments and Help