borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (How do I programatically modify printer settings from VB?)Next Topic (DOS PRINTING IN VB) New Topic New Poll Post Reply
AndreaVB Forum : Printing : Printing alternate lines grey
Poster Message
robertb
Level: Guest


icon Printing alternate lines grey

I am new to VB. I want to print a report with alternate lines greyed.  I cannot figure out how to print a line with a grey background. Can anyone help me.

Robert

24-03-2003 at 01:13 AM
| Quote Reply
steve_w
Level: Moderator


Registered: 18-04-2003
Posts: 1156
icon Re: Printing alternate lines grey

One method of doing this would be to create your report from vb but in excel. You can then programatically set the back ground colours of the spreadsheet. Then print it again, programatically, the user never need know that excel was even used.

There are several examples of using excel and vb in this forum, but if you need more help let me know.

[Edited by steve_w on 29-04-2003 at 08:45 AM GMT]

29-04-2003 at 08:24 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Printing : Printing alternate lines grey
Previous Topic (How do I programatically modify printer settings from VB?)Next Topic (DOS PRINTING IN VB) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder