Jump to content
Xtreme .Net Talk

Killian35

Members
  • Posts

    5
  • Joined

  • Last visited

Killian35's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. You're not creating a new instance of a PictureBox each time through the loop. You're reusing the existing one you defined at the top of your code. Move the Dim PB As New PictureBox to inside the loop.
  2. You should check the DataTable columns to see if it exists. You can go through your dsview variable to access the table and then the column collection to check. if (dsview.Table.Columns.Contains(type)) { // do stuff }
  3. Give Version a try. Dim v1 As New Version("1.10.33") Dim v2 As New Version("1.2.3") Debug.WriteLine(v1.CompareTo(v2))
  4. The first thing I noticed about your example is that the _message field is declared as internal and the dialogResult field is declared as private. It seems that private fields are not included in the hierarchy for reflection past the current type. It looks like you would have to iterate through all the parent types and retrieve the private fields manually.
  5. You could use the Uri class: Dim u As New Uri("file:///C:/") Debug.WriteLine(u.LocalPath)
×
×
  • Create New...