Search results for query: *

  1. S

    printpreviewdialog HasMorePages ?

    I've placed them in an arrayList. maxLine = CInt(e.MarginBounds.Bottom / 16) For a As Integer = 1 To maxLine For Each str As String In arrayMN countMN += 1 g.DrawString(str, font, brush, x + 5, y +...
  2. S

    printpreviewdialog HasMorePages ?

    I threw everything into BeginPrint. lol :p I just tried displaying dr("mailName") in a msgbox, and it shows all the records from database as a string. I'm thinking it might be because of this that it keeps printing that string. Is it possible to separate them (like 1row = 1string) ? :confused:
  3. S

    printpreviewdialog HasMorePages ?

    Thanks for the reply :) Dim mailName As String Dim linePerPage As Integer Dim pageNumber As Integer Dim pageToPrint As Integer Dim lineToPrint As Integer Dim countRec As Integer Dim n As Integer Public Sub readDb() Try Dim conn As New...
  4. S

    printpreviewdialog HasMorePages ?

    Hi, sorry for the super late reply. I was trying to get it working plus doing other parts for my project. I'm finally able to get the correct number of pages out! Thanks for the example! :D but it's still printing with the same results. any idea how to solve? Thanks again! :D
  5. S

    printpreviewdialog HasMorePages ?

    Thanks for replying! I understand what you're saying about the pointer, but i don't know what to use for the pointer. is this the code you want? Private Sub Print_PrintPage(ByVal sender As Object, ByVal e As _ System.Drawing.Printing.PrintPageEventArgs) Try Dim conn...
  6. S

    printpreviewdialog HasMorePages ?

    Hi, i have a print preview button where when user clicks, the preview doc will appear. everything else is working fine, just that it cant seem to be able to continue on a next page when the records exceed the 1st page. i've tried the following code but it just keeps generating the previews...
  7. S

    CRM Software

    Hey guys, i am going to be designing a desktop based application (that will be used for Client Relationship Management) using Visual Studio 2005(pro ed) - .NET Framework 2.0 - and MSSQL as the database. Was just wondering if VB.NET is a suitable language to use for this application? Also, which...
Back
Top