Eval to run function

  • Thread starter Thread starter Derek Hart
  • Start date Start date
D

Derek Hart

I have the name of a function stored in SQL Server, and I wish to run this
function on a VB.Net form. In a past message, I found the following code:

Dim myresult As String
myresult = AxScriptControl1.Eval("2 * 2")
MessageBox.Show(myresult)

Using the script control this seems to work. But I cannot get it working to
run a function. Any ideas would be appreciated . . .

Derek
 
Back
Top