|
-
Aug 16th, 2001, 10:09 PM
#1
Thread Starter
New Member
beachbum (still problems)
Hi again Beachbum, Thanx for correcting my obvious mistakes.I need to pay more attention to what I'm doing !! I'm still having a problem running the program. It pertains to the following code.
[ vbcode ]
Private Sub Command2_Click()
list1.Clear 'keep getting "variable not defined"
list2.Clear 'message for these 2 lines of code
For loopcounter = 0 To numberofstudents
list2.AddItem scorearray(loopcounter)
list2.ItemData(list2.NewIndex) = loopcounter
Next
For loopcounter = numberofstudents To 0 Step -1
orderposition = list2.ItemData(loopcounter)
list1.AddItem namearray(orderposition) & vbTab & scorearray(orderposition)
Next
End Sub
[/Highlight]
Am I posting my code correctly now? I tried to highlight my comments without any luck. I'm a newbie/wannabe..lol.It's awful nice of you to help people..Have a great evening.
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
|