Search results for query: *

  1. V

    Problem with adding the data to the listview control

    OK. I made a slight change to my load method PrivateSub User_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) HandlesMyBase.Load Dim oUser AsNew CData Dim dsUser AsNew DataSet Dim userInfo AsNew CUser --THIS IS WHERE MY PROPERTIES ARE DECLARED Dim arrUser AsNew ArrayList Dim...
  2. V

    Problem with adding the data to the listview control

    Fails saying that Object reference not set The code: Public Class User Inherits System.Windows.Forms.Form Dim userCol As CDbUsers #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent()...
  3. V

    Collection Object Problem

    Thanks for a good tip
  4. V

    Listview Control

    I have to add the data from my collection to the listview control. How do I add index to the first column and subitems?
  5. V

    Collection Object Problem

    Problem fixed. I did not instantiate the array. Declared it in contructor and away.
  6. V

    Collection Object Problem

    Private _userArray As ArrayList This is what I have declared at the top of the class.
  7. V

    Collection Object Problem

    Hi I am adding the dataset to the collection object. It fails here Public Sub Add(ByVal oUser As CUser) _userArray.Add(oUser) End Sub Says Object reference not set to an instance of an object PublicFunction GetUserDetail() As CDbUsers ' Create the Database object, using the default...
  8. V

    Column "X" does not belong to the table "table"

    Public Function GetUserDetail() As CDbUsers ' Create the Database object, using the default database service. The ' default database service is determined through configuration. Dim db As Database = DatabaseFactory.CreateDatabase() Dim sqlCommand As String = "Select * From SecureUser" Dim...
Back
Top