HI,
I use this line in VB6 to print columns in a table, when I converted to vb.net, I cannot find the equivalent. I went through documentation, examples, this forum, FAQ and search, but I cannot find even a clue, I am trying to print one line at a time retreiving fields from a table:
"
Printer.Print Tab(2); !crn; Tab(14); !priort; Tab(28); Format(!CDate, "mm/dd/yyyy"); Tab(42); Trim(!projnm); Tab(77); Trim(!subby); Tab(107); Trim(!dept); Tab(AlignDec(155, !totcst)); Format(!totcst, "###,###,##0.00"); Tab(163); Trim(IIf(IsNull(!assto), "Not Assigned ", !assto))"
Using the PrintDocument class and/or the Graphics class can show you how to print one string or one page but not the above.
Can anyone help?, please
I use this line in VB6 to print columns in a table, when I converted to vb.net, I cannot find the equivalent. I went through documentation, examples, this forum, FAQ and search, but I cannot find even a clue, I am trying to print one line at a time retreiving fields from a table:
"
Printer.Print Tab(2); !crn; Tab(14); !priort; Tab(28); Format(!CDate, "mm/dd/yyyy"); Tab(42); Trim(!projnm); Tab(77); Trim(!subby); Tab(107); Trim(!dept); Tab(AlignDec(155, !totcst)); Format(!totcst, "###,###,##0.00"); Tab(163); Trim(IIf(IsNull(!assto), "Not Assigned ", !assto))"
Using the PrintDocument class and/or the Graphics class can show you how to print one string or one page but not the above.
Can anyone help?, please