Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The Firstapp Sample Application

Status
Not open for further replies.

TonyG

Programmer
Nov 6, 2000
79
US
Hello,

I'm new to vb6. I tried coding the FirstApp sample application that comes with vb6. It displays the form OK, but when i double click the MSFlexGrid1 box as youre suppoed to, it gives me a runtime error '424' Object required and ahngs up on the following:

Private Sub MSFlexGrid1_DblClick()
List1.AddItem MSFlexGrid.Text
End Sub

I reviewed my coding and properties twice.

Any help would be apprecaited.

Thanks
 
Do have a control named "MSFlexGrid"?

Do you see where I'm going with this?
VCA.gif

Alt255@Vorpalcom.Intranets.com
 
I may be wrong here, but shouldn't your code looks like this below :

List1.AddItem MSFlexGrid1.Text

Notice the "1" before ".Text"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top