|
-
Oct 22nd, 2002, 04:14 PM
#1
Thread Starter
New Member
ListBox1.ListCount Question
hello,
i'm semi familiar with vb6 and the function of sending all my information in a listbox to the clipboard but i just cannot get it to work properly in vb.net. here is my code:
Dim x As Integer
x = ListBox1.ListCount
For x = 0 To (ListBox1.ListCount - 1)
If ListBox1.ListCount (x) = True Then GenerateText = GenerateText & ListBox1.List (x) & vbCrLf
Next
GenerateText = GenerateText & "" & vbCrLf
GenerateText = GenerateText & Text1.Text
It states
'ListCount' is not a member of 'System.Windows.Form.ListBox'
'List' is not a member of 'System.Windows.Form.ListBox'
as well as
'Text1' is not declared'
can someone shed some light on this for me ...much appreciated.
- justin
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
|