i dont know what the problem is but i have tryed everthing i can think of. this seems like a simple error but i cannot think of what is wrong does anyone know what would cause a problem like this because i dont know how this problem was caused.
the text i select from the combo box is correct too and the index is not equal to -1 or greater then the list count -1.
please someone try you best to help me this has become fustrating and it is just one line of code causign it too. i dont like weird errors like this any help from any profesionals or knowledgeable people woul be greatly appreciated and would prove that someone knows what there talking about on this message board.
: : i have a combo box and when i select an item from it and use the
: : text property to determine what event i am selecting to do from the
: : combo box
: : i do this twice and i have two tab pages and on the first one it works fine but
: : on the second one it gives me this error:
: : "index out of range error". i know this error cant be too big of
: : a problem but i cant figure out why the index would be out of range.
: : is it something over selecting the event? another error i have is
: : when i go to click a button i have to edit a event it says the same
: : thing but i think this error is most likely a selection error. I
: : only have some code for the first error with selecting the event:
: : 'the line below cases the error
: : Select Case ComboCommands2.Text
: : Case Is = "Execute Program"
: : 'add other event items here to prepare for the event or to do it
: : 'add other cases here
: : End Select
i tryed already copying the controls from the second tab and deleting it and then put another tab to replace it but that did not work either. this may be just a simple solution i am over looking or a property that needs to be changed to get my program to work correctly but i dont know where to start to get this problem fixed i have tryed everything i can think of. i even deleted the combo box and put it back on the form and copyed the combo boxs code to a file and then deleted the code from the editor.
if anyone can simulate the same situation and fix it then please share with me how becuase i can not figure out how this is happening and i dont think it should , should it?
: thanks for any help again
: jeffman the planner