VB6 - Loading/show and form by getiing form name from a list box

I want to load and show a form by selecting the form name from a listbox, any ideas
Who is Participating?
aeklundConnect With a Mentor Commented:
Add your form names to the list box, then on the click event put this:

Select Case List1.ListIndex
  Case 0: frmOne.Show
  Case 1: frmTwo.Show
  Case 2: frmThree.Show
End Select
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.