C
Chad Johnson
I have written an ActiveX Exe in VB6 and placed it on an HTML page. I
now want to access a property of the ActiveX Exe (Test3) that is a
collection (Buttons) of "Button" classes in javascript. Each instance
of the Button class contains a ButtonId property and a TimeStamp
property which are both strings. I thought I could do the following
similar to how I access the collection in a VB6 test container project
I wrote:
function GetData_Click()
{
var sID
for (i=0; i < Test3.TotalButtons - 1;i++)
sID = Test3.Buttons.ButtonID;
}
When I execute the function though I get 'Test3.Buttons[...].ButtonID'
is null or not an object.
I'm not very well versed in javascript. Any help would be greatly
appreciated.
now want to access a property of the ActiveX Exe (Test3) that is a
collection (Buttons) of "Button" classes in javascript. Each instance
of the Button class contains a ButtonId property and a TimeStamp
property which are both strings. I thought I could do the following
similar to how I access the collection in a VB6 test container project
I wrote:
function GetData_Click()
{
var sID
for (i=0; i < Test3.TotalButtons - 1;i++)
sID = Test3.Buttons.ButtonID;
}
When I execute the function though I get 'Test3.Buttons[...].ButtonID'
is null or not an object.
I'm not very well versed in javascript. Any help would be greatly
appreciated.