_HAWK_'s Profile User Rating: *****

Reputation: 1157 Grandmaster
Active Posts:
4,440 (1.67 per day)
02-July 08
Profile Views:
Last Active:
User is offline Yesterday, 05:51 PM

Previous Fields

OS Preference:
Favorite Browser:
Favorite Processor:
Favorite Gaming Platform:
Your Car:
Dream Kudos:
Expert In:

Latest Visitors

Icon   _HAWK_ - I got your Foo right here!

Posts I've Made

  1. In Topic: Problem printing using PrintDocument. Can't get second page to pr

    Posted 5 Oct 2015

    You put the HasMorePages = True in the loop. You have to check the row level where your printing against the bottom of the page and if near the bottom then start the second page. The thing to remember is the loop variable will need to be stored at class level so when the loop starts again it starts at that position in the collection to continue printing. The row variable can be used in the draw methods for y axis printing of text.

    Private index As Integer = 0 'starts at zero
    Private Sub PrintDocument4_PrintPage(ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument4.PrintPage
      'omitting other printing for clarity on loop part
      Dim row As Integer = e.MarginBounds.Top ' you need to decide where this starts 
      For i As Integer = index to lId.Count - 1
        index = i ' set this for memory and second page printing
        row += 20 ' decide how far down you move for each line
        If row > e.MarginBounds.Bottom -20 Then 
          e.HasMorePages = True
          Exit Sub
          'continue printing
        End If
     End Sub
  2. In Topic: I have been stuck for 2 days...

    Posted 2 Oct 2015

    Did you debug your code? Where does it go? Is the logic correct? If you debug it you will likely figure this out.
  3. In Topic: VB.Net Databinding Error with Textbox

    Posted 1 Oct 2015

    Changes to an Access table do not reflect immediately in your project. You need to remove it and add it back before changes are accepted on the form/project. That is my biggest reason for moving to SQL Server - many years ago. Sql Server updates without having you remove the DataSource every time you make a change.
  4. In Topic: retrieving from database mis order records

    Posted 29 Sep 2015

    Did you try using the Order By clause?

    Pseudo code:

    Select {...} From {table} Where {some condition} Order By {some column}
  5. In Topic: I have some questions regarding Inheritance-any answers appreciated.

    Posted 17 Sep 2015

    Welcome to DIC.

    Inheritance is used extensively and all programmers should know it. All controls you will be working with use Inheritance. All classes have an inheritance line going all the way back to System.Object as it's base. The limitations are mainly on you - other than dealing with scope. It is used where there is a base class that other classes would have the same base properties/functionality. Each inherited class gets to define itself further, but retain the base definition. The base class will never know of the changes made to a derived class.

My Information

Member Title:
Master(Of Foo)
Age Unknown
Birthday Unknown
Denver Colorado
Years Programming:
Programming Languages:

Contact Information

Click here to e-mail me
Website URL:
Website URL  http://


  • (3 Pages)
  • +
  • 1
  • 2
  • 3
  1. Photo

    Drainage Icon

    06 Jan 2015 - 19:14
    Hey Hawk,
    Was not able to find a way to private message you so had to resort to this. Could you please get in contact with me ASAP?
    Thanks a lot!
  2. Photo

    trevster344 Icon

    16 Mar 2012 - 08:31
    Seems to be that kind of year lol.
  3. Photo

    _HAWK_ Icon

    14 Mar 2012 - 16:42
    Super busy!
  4. Photo

    trevster344 Icon

    14 Mar 2012 - 13:23
    Hey man, how have you been?
  5. Photo

    DimitriV Icon

    29 Jan 2012 - 18:56
    Go bro!
  6. Photo

    _HAWK_ Icon

    12 Dec 2011 - 20:39
    Careful that **it is addictive!!!
  7. Photo

    trevster344 Icon

    12 Dec 2011 - 16:40
    Ever since you introduced some possibilities of drawing cool graphics to me, earlier this year. I've found myself nonstop drawing everything including the simplest of things lol.
  8. Photo

    trevster344 Icon

    29 Nov 2011 - 15:20
    Yea all that weather is chilling the south quite a bit.
  9. Photo

    _HAWK_ Icon

    19 Nov 2011 - 11:15
    Not bad so far. Good snow in mountains already.
  10. Photo

    trevster344 Icon

    18 Nov 2011 - 09:15
    How's that onset of winter treating you up there in CO hawk!? I'll be up there soon to meet it head on, myself.
  11. Photo

    ricardosms Icon

    01 Nov 2011 - 03:21
    I saw your note... I took me over a week to figure it out.
    Just prepoaring for the grand oppening that never happens.
  12. Photo

    _HAWK_ Icon

    02 Oct 2011 - 05:46
  13. Photo

    smohd Icon

    02 Oct 2011 - 02:10
    New name ?
  14. Photo

    _HAWK_ Icon

    17 Sep 2011 - 14:34
    Cooling off - 'bout time!
  15. Photo

    trevster344 Icon

    16 Sep 2011 - 22:32
    How's that Colorado weather treating ya?
  • (3 Pages)
  • +
  • 1
  • 2
  • 3