
Executing a function during runtime
I guess a Select ... Case statement would do;
~~~~~~~~~~~~~~
Select Case Ucase$(Text1.Text)
Case Is "PRINT"
Call DoPrint
Case Is = "SORT"
Call DoSort
Case Else
MsgBox "Command not recognised."
End Select
~~~~~~~~~~~~~~
Cheers,
Jules
Quote:
> Hello,
> I once saw a VB sample executing a function or a sub
> in runtime. I was wondering how it is done because
> I am working on a program which allows the user
> to key in a command (function) into a textbox and
> gets the output in separate textbox. Somewhat like
> a console program.
> Thanks in advance.
> Kian Yang