Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Visual Basic .NET only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
Visual Basic .NET
Reading List Box...
Reading List Box...
Collapse
This topic is closed.
X
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Joe Smith
#1
Reading List Box...
Nov 21 '05, 05:14 PM
What is the syntax to read the nth item in the listbox.
..NetFramework 1.1. and VB.Net 2003.
Thanks,
Joe
Herfried K. Wagner [MVP]
#2
Nov 21 '05, 05:14 PM
Re: Reading List Box...
"Joe Smith" <Joe_H_Smith@ho tmail.com> schrieb:[color=blue]
> What is the syntax to read the nth item in the listbox.[/color]
\\\
Dim o As Object = Me.ListBox.Item s(n - 1)
///
If your items are strings:
\\\
Dim s As String = DirectCast(Me.L istBox1.Items(n - 1), String)
///
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment