Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
T

tbkfile

@tbkfile
About
Posts
5
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Printing multiple pages in Viusal Basic .net each from a different source using Sub Routines
    T tbkfile

    Thanks Duncan - Its taken a while to sort out the logic, but like most things in VB once you have, you wonder why you didn't think of it before. Anyway its all sorted now so thnks for your help.

    Visual Basic help csharp tutorial

  • Printing multiple pages in Viusal Basic .net each from a different source using Sub Routines
    T tbkfile

    Thanks Dave, I've tried this in just about everyway that I can think, the problem is that each section could be a number of pages long and it seems that when I pass it as Printing.PrintPageEventArgs so that each sub routine can check to see if there are any more pages using HasMorePages, the event is fired from both within the subroutine and the main PrintPage routine! if I pass it as a Graphics object than there's no way of checking to see if it will fit on one page or how to add one if it needs more (the old VB6 way was easy)

    Visual Basic help csharp tutorial

  • Printing multiple pages in Viusal Basic .net each from a different source using Sub Routines
    T tbkfile

    First post here so please be patient, I wrote some software for the company that I work for in VB6 for Scheduling and quoting construction based projects and am upgrading to VB 2008, not a problem except for the printing, The user had several check boxes and option groups which related to which pages were printed, the first was a cover page, second page a preamble, third page list of doors etc all taken from different sources, in VB6 it was pretty simple to create a printer object (called myPrint) call the various page sub routines and to put it together example as below:

    Select Case True
    Case frmPrint.optAll(0).Value = True 'materials listing
    MyPrint.NewPage
    PProductListingA
    Case frmPrint.optAll(1).Value = True 'bill of quantities
    MyPrint.NewPage
    PBOQsA

    Obviously we've lost the NewPage which has been replaced with HasMorePages from within the PrintPage method, I've spent about a week now trying to call the various sub routines from within this and quite simply have hit a brick wall. Lots of examples on the web to point me in the right direction but they all seem to be based around a single block of text printed over various pages, help. I just need a pointer in the right direction.

    Visual Basic help csharp tutorial

  • Upgrading VB6 to VB.net printing problem
    T tbkfile

    Thanks for the suggestion, unfotunately it still only deals with a multi page single source document as opposed to a different document on mulitple pages.

    Visual Basic help csharp tutorial

  • Upgrading VB6 to VB.net printing problem
    T tbkfile

    First post here so please be patient, I wrote some software for the company that I work for in VB6 for Scheduling and quoting construction based projects and am upgrading to VB 2008, not a problem except for the printing, The user had several check boxes and option groups which related to which pages were printed, each unrelated, the first was a cover page, second page a preamble, third page list of doors etc all taken from different sources, in VB6 it was pretty simple to create a printer object (called myPrint) call the various page sub routines and to put it together example as below: Select Case True Case frmPrint.optAll(0).Value = True 'materials listing MyPrint.NewPage PProductListingA Case frmPrint.optAll(1).Value = True 'bill of quantities MyPrint.NewPage PBOQsA Obviously we've lost the NewPage which has been replaced with HasMorePages from with the PrintPage method, I've spent about a week now trying to call the various sub routines from within this and quite simply have hit a brick wall. Lots of examples on the web to point me in the right direction but they all seem to be based around a single block of text printed over various pages, help.

    Visual Basic help csharp tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups