Results 1 to 4 of 4

Thread: Printing in VB5

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Posts
    2

    Post

    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?

  2. #2
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926

    Post

    Try Me.PrintForm

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Posts
    2

    Post

    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?

  4. #4
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,175

    Post

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width