Re: printing using tabs



"Mitch5713" <mitch@xxxxxxxx> wrote in message news:E0DC9924-8650-419C-8B41-8E3D76A200B9@xxxxxxxxxxxxxxxx

Mike: here is a snippet of the code i will explain in detail
whats going on

I notice that you posted your last message in this thread about six days ago and that you haven't posted again since, so I presume you've now sorted the problem out for yourself. I've been away for a week so I'm not sure, but I don't think I've missed any of your posts. However, if you haven't sorted it out then post again. The code that I posted the other week just prints the Forms that you ask it to print. The fact that your code is printing Form2 on the back of the Form1 printout is because that's exactly what your code in Sub mnu_Print_Click is asking it to do. In your code in the mnuPageTwo_Click event (fMainForm = New Form2) you are creating another Form based on Form 2. It is however a different Form. It is *not* Form2. If you want to print that Form (fMainForm) then you must specify it in your Sub mnuPrint_Click code.

Mike



.



Relevant Pages

  • Re: VB or C# for SQL Server
    ... Bob, ... I was just reading through the posts, and got to the part where you ... I was actually doing something similiar, where I needed to control the ... Public Sub Button_Click ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Multiple List Views ?
    ... Sorry about the quick posts just figured out the problem, ... > A circular control reference has been made. ... > Public Sub Sublstview_ItemActivate(ByVal sender As Object, ... >> AddHandler SubLstView.ItemActivate, AddressOf ...
    (microsoft.public.dotnet.languages.vb)
  • notinlist event gives error
    ... I have read the posts and visited the vb links related to this action, ... inserting the new item into the underlying table, the request to requery the ... Private Sub Combo0_NotInList(NewData As String, ...
    (microsoft.public.access.formscoding)
  • Re: Using a time Variant with OnTime
    ... I found your website metion in some posts a few days ago (you probably ... Private Sub ToggleButton1_Click ... Public nTime As Variant ...
    (microsoft.public.excel.programming)