Hi!
I've been searching so far for a way to read a string and execute it as vb code.
eg.
should make a new variable a with 23. Or
should show a message with input "23".
I've already searched on the internet
I also need it to be able to work with other classes/modules. I've a module with some functions like
so i need
also work showing the message "32".
Is there a solution? I'd be grateful to whoever has an answer
Huh i should have posted this in VB.Net General discussions and not in VS.Net General discossion...forgive me, how can i move this thread?
I've been searching so far for a way to read a string and execute it as vb code.
eg.
VB.NET:
string_evalutate("dim a as integer = 23")
VB.NET:
string_evalutate("MsgBox(a.tostring)")
I've already searched on the internet
I also need it to be able to work with other classes/modules. I've a module with some functions like
VB.NET:
Public Sub Show_Message(byval input as string)
MsgBox(input)
End Sub
VB.NET:
string_evalutate("Show_Message(a)")
Is there a solution? I'd be grateful to whoever has an answer
Last edited: