Results 1 to 7 of 7

Thread: visual basic 6

Hybrid View

  1. #1
    Canadian
    Join Date
    Jan 2001
    Location
    Hamilton, Canada
    Posts
    438

    visual basic 6

    Does anyone know how to program well in vb6? I'm having trouble printing a form that is 8.5 x 11.
    "Discipline is never an end itself, only a means to an end." - Robert Fripp

  2. #2
    FlashWood BB #1 Strahd's Avatar
    Join Date
    Jul 2001
    Location
    Canada, Qc, Flashwood
    Posts
    116
    what kind of problem? I'm pretty sure I can help you...
    "Everyone around here has a 6-pack and I'm the only one with a keg" Homer Simpson

  3. #3
    FlashWood BB #1 Strahd's Avatar
    Join Date
    Jul 2001
    Location
    Canada, Qc, Flashwood
    Posts
    116
    my guess would be :

    add printer.killdoc before printer.print and finish with printer.EndDoc
    "Everyone around here has a 6-pack and I'm the only one with a keg" Homer Simpson

  4. #4
    Canadian
    Join Date
    Jan 2001
    Location
    Hamilton, Canada
    Posts
    438
    The problem is when I have a form that is bigger than the screen vb will only print the visible portion of the form. The only solution I can find is to put all of the controls on the form inside a picture box and paint it to the printer. The problem with this method is that a bitmap is printed. This results in a degradation of quality and I need the print outs to look as good as possible.

    Heres a link to how I am currently doing it.

    http://support.microsoft.com/default...;en-us;Q230502
    "Discipline is never an end itself, only a means to an end." - Robert Fripp

  5. #5
    FlashWood BB #1 Strahd's Avatar
    Join Date
    Jul 2001
    Location
    Canada, Qc, Flashwood
    Posts
    116
    I see you problem... can't think of anything right now... Unless you only want to print text then you just need to add the text to a var then print it...
    "Everyone around here has a 6-pack and I'm the only one with a keg" Homer Simpson

  6. #6
    Canadian
    Join Date
    Jan 2001
    Location
    Hamilton, Canada
    Posts
    438
    No I need to print more than text. Its a government form and it must look exact.
    "Discipline is never an end itself, only a means to an end." - Robert Fripp

  7. #7
    Canadian
    Join Date
    Jan 2001
    Location
    Hamilton, Canada
    Posts
    438
    Thanks anyway
    "Discipline is never an end itself, only a means to an end." - Robert Fripp

Bookmarks

Posting Permissions

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