Hi everybody,

here's my problem:
I have a set of FUNCTIONs and SUBs, and i have an input (let's say for example a textbox) in my VB project.
If someone types something into this textbox, and presses ENTER, i want a FUNCTION to be called, according to that input.
I COULD do something like this:

Select Case Text1.Text
Case "Show_Users"
Show_Users
Case "Connect"
Connect
Case "Preferences"
Preferences
End Select

However, it would be much easier, to have that Text1.Text evaluated, and processed as FUNCTION and SUB names instantly.
Especially, as I am going to have lots and lots of SUBs.

In another language (Cold Fusion to be specific), it is possble to do this by using the following code:

Evaluate(Text1.Text)

Now Text1.Text is translated to Code, and interpreted as such.
Do you know what I mean?
Is there some function or way to perform this trick in VB (6.0) ???

Any help is appreciated.
thanks,
Kevin