I am using VB 6 in order to clear a listbox (lststuff) containing material entered by the user via input boxes. I am trying to utilize a command button which will clear the list for the user. When testing the program, as soon as i click on the command button I receive a "Type mismatch" error. How can I solve this?
This is the code I am using:
[CODE=vb]Private Sub cmdclear_Click( Index As Integer)
Dim warning...
User Profile
Collapse
-
Receiving "Type Mismatch Error"
Last edited by Killer42; Dec 29 '07, 12:46 PM. -
You need to add the items in your textfile into an array. Once the array is filled, you can call a specific part of the array usingCode:Myarray(indexnumber)
No activity results to display
Show More
Leave a comment: