I want to call a function from javascript.
Ex . I have a activex control with a button named "btn" ,
i want to return its caption using js,is technically possible ?
Also how can i write custom functions in vb6 Activex Control ? and i need to embed the control on a web page.
ex.
Option Explicit
Public Function getText(ByVal message As String) As String
MsgBox message
End Function
Private Sub UserControl_Initialize()
Call getText("test")
End Sub
I want to call getText from javascript.
Thank you.