I am wondering how to print the current form in VB5.
I'm trying to wirte an order form program that you fill it in and print it out w/out saving.
Any help would be appreciated.
------------------
I'm a (S)eeker (O)f (C)hrist!
RU?
Printable View
I am wondering how to print the current form in VB5.
I'm trying to wirte an order form program that you fill it in and print it out w/out saving.
Any help would be appreciated.
------------------
I'm a (S)eeker (O)f (C)hrist!
RU?
Try Me.PrintForm
I'll try that.
I case you couldn't tell I'm a Newbie to VB I've built useless programs to use mainly single controls. I appreciate the help.
------------------
I'm a (S)eeker (O)f (C)hrist!
RU?
If PrintForm works for you, you may want to set the Visible property of some controls that aren't a part of the order (like command buttons) to False, and the set them back to True when printing is done. If your form and/or controls are colorful and you don't have a color printer, you can also save the BackColor, set it temporarily to vbWhite, and restore the saved BackColor after printing.
------------------
Marty