DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Method or data member not found

  1. #1
    Join Date
    Aug 2004

    Method or data member not found

    [Originally posted by Marco Silva]

    I was in trying some code and it's always appearing a error. I doesn't it work in my computer? See the "split" words , those words causes errors, it says that Method or data member not found, I need some help, please.

    Private Sub Form_Load()

    ' Before modifying the grid's properties, make sure the

    ' grid is initialized by refreshing the Data control.


    ' Create an additional splits:

    DBGrid1.splits.Add 0 ' Create an additional split

    ' Hide all columns in the leftmost split, Splits(0),

    ' except for columns 0 and 1

    Dim Cols As Columns, C As Column

    Set Cols = DBGrid1.splits(0).Columns

    For Each C In Cols

    C.Visible = False

    Next C

    Cols(0).Visible = True

    Cols(1).Visible = True

    ' Configure Splits(0) to display exactly two columns,

    ' and disable resizing

    With DBGrid1.splits(0)

  2. #2
    Join Date
    Aug 2004

    Re:Method or data member not found

    [Originally posted by Tariq Ali Shaikh]

    You should go to form's GUI and check if the Data Bound grid is properly added (Click it and look at properties window, if it show "DBGrid1 PictureBox" then you have not properly installed DBGrid control. Try reinstalling VB.)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center