Scriptcontrol as a workaround?
I also considered using the Microsoft Script Control as a workaround, because i can have it execute statements as strings.
e.g.:
With ScriptControl1
.ExecuteStatement "Msgbox"
End With
or in my case:
With ScriptControl1
.ExecuteStatement Text1.Text
End With
The script control (which in fact just executes some VBScript), could offer me a solution, only, I cannot involve SUBs from, let's say, a module in my application.
e.g.:
With ScriptControl1
.ExecuteStatement "Create_Connection"
End With
Unless someone can tell me how to do this?
How can I call a routine which exists inside a module of my project, from inside the Script Control?
Thanks in advance,
Kevin