Hello Everyone,
I am trying to follow the tutorial below.
http://www.vbdotnetheaven.com/Upload...ewControl.aspx
However, when I come to the point to add multiple columns. I get stuck..
[VBA]
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
' Adding ListView Columns
ListView1.Columns.Add("Emp Name", 100, HorizontalAlignment.Left)
ListView1.Columns.Add("Emp Address", 150, HorizontalAlignment.Left)ListView1.Columns.Add("Title", 60, HorizontalAlignment.Left)
ListView1.Columns.Add("Salary", 50, HorizontalAlignment.Left)ListView1.Columns.Add("Department", 60, HorizontalAlignment.Left)
End Sub
[/VBA]
What is wrong with the code? Can anybody help me please?