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

Reputation: 1159 Grandmaster
Group:
Expert
Active Posts:
4,447 (1.6 per day)
Joined:
02-July 08
Profile Views:
72,128
Last Active:
User is offline Dec 28 2015 08:39 PM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
Intel
Favorite Gaming Platform:
XBox
Your Car:
Mazda
Dream Kudos:
125
Expert In:
VB.NET

Latest Visitors

Icon   _HAWK_ - I got your Foo right here!

Posts I've Made

  1. In Topic: How do i create a list and select a random item from it?

    Posted 9 Dec 2015

    Hmm... Dim statements are for creating objects, all objects are classes or structures. This is basic building blocks of programming. How are you learning code books or classes?
  2. In Topic: How do i create a list and select a random item from it?

    Posted 9 Dec 2015

    How about the Random class? Use that to get the index of the array.
  3. In Topic: convert integer to string problem

    Posted 9 Dec 2015

    This is where debugging would help you. Each item is a string from the collection and you are trying to use that as an index for the arraylist collection. Please consider a List(Of String) instead of ArrayList as they are old and not Type safe.

    Using objWriter As New System.IO.StreamWriter(fileName)
      For Each item In myArrList  
        objWriter.WriteLine(item)
      Next
    End Using 'closes and disposes the stream
    
    


    Or

    Using objWriter As New System.IO.StreamWriter(fileName)
      For i As Integer = 0 To myArrList.Count - 1
       objWriter.WriteLine(myArrList(i)) 'i variable gets the index
      Next
    End Using
    
  4. In Topic: Move GDI+ Drawing

    Posted 4 Nov 2015

    Make a Rectangle variable at class level then you will have a reference so now you can move the rectangle and draw the image to the rectangle - there is an overload for the DrawImage method that excepts a Rectangle structure.

    Public Class form1
      Private imgRect As New Rectangle(x, y, width, height) 'set these parameters with the values you need
    
      Private Sub form_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
        'if keydown key = right change the rectangle's x position
         imgRect = New Rectangle(imgRect.X + 1,imgRect.Y, imgRect.Left, imgRect.Top)
        'do other movements
        Me.Refresh() 'draw again
      End Sub
     
      Private Sub form_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint
        e.Graphics.DrawImage(Img, imgRect)
      End Sub
    End Class
    
  5. In Topic: SQL table transfer with relations

    Posted 1 Nov 2015

    I don't think you are setting this up the right way, but it is hard to follow what your saying. Why is there more than one DB? Why not a field that toggles on whether the record/job is incomplete rather than it being a separate record in another DB? If you show the layout of the tables and the relationships then describe in details the query that does not seem to be working and maybe we can help. As for now there is too few details for us.

My Information

Member Title:
Master(Of Foo)
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Location:
Denver Colorado
Years Programming:
6+
Programming Languages:
VB.Net
C#
XML
XAML
Regex
LINQ
ASPX
SQL

Contact Information

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

Comments

  • (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
    Yea!
  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