Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
C# Community
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
VB.NET
VB.NET General Discussion
Average'd Out
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="tk.unlimited, post: 6626, member: 2533"] I'm having trouble getting an average of marks from a listbox.. These are the following steps: -Find out how many marks in the listbox - this is the limit for the loop -Start a total variable with 0 -Using a FOR LOOP, loop though each mark in the marks listbox and add each mark to the total variable. The for loop will need to start from 0. -You can access an item in hte listbox using the following line of code (Assuming iItemCounter is the counter being used by the FOR loop) iMark = me.lstboxname.items(iitemcounter) That is what im having trouble with... I know how to get the average from here.. Please Help :( [/QUOTE]
Insert quotes…
Verification
Post reply
VB.NET
VB.NET General Discussion
Average'd Out
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top
Bottom