|
-
Jun 14th, 2000, 11:20 PM
#1
Thread Starter
Junior Member
can anobody tell me whats wrong here...i get a compile error saying something like "only public defined blah blah blah"
what i am trying to do is add the type to the collection.
Private Type NameValue
lsFValue As String
lsRValue As String
End Type
Dim fcNameValue As NameValue
Dim fcCol As Collection
Dim num As Integer
Private Sub Command1_Click()
fcNameValue.lsFValue = "FVAlue"
fcNameValue.lsRValue = "RValue"
fcCol.Add fcNameValue, Str(num)
num = num + 1
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|