Script Control

muthuraman

Member
Joined
Aug 13, 2003
Messages
12
I am trying to use AxScriptControl in VB .NET.

I am having some problem using this. The following is the code I used.

Dim t As New Object
Dim cmd as String

AxScriptControl1.AddObject("TextBox1", t) There is already

a textbox named TextBox1

cmd = " t.Text = hi "

AxScriptControl1.ExecuteStatement(cmd)

I am getting an error at the last line saying unhandled exception. Can anyone help me?.

Thank You
 
Back
Top