saimagulse
Programmer
hi all
i m creating a dll which create a table dynamically using mshtlml.dll
my code is like
Public sub CreateTable()
Dim tbl,row
set tbl=wb.document.createlement("Table")
set row=tbl.insertrow
set cell=row.insertcell
cell.innerText="a"
wb.document.body.appendChild(tbl)
end sub
by this methos table is created
you can see methods etc by adding reference of MSHTML.DLL in you project and declare
Dim row as new MSHTML.HTMLRow
Now i want to attach event with the row i have been created
library provide us method row.onmouseover
but it accepts object
or other methos is to attachEvent
as we can do it in javascript
to createa function and attach it
but how can i do it in Visual Basic please help me as soon as possible
i need it urgent
Thanks
i m creating a dll which create a table dynamically using mshtlml.dll
my code is like
Public sub CreateTable()
Dim tbl,row
set tbl=wb.document.createlement("Table")
set row=tbl.insertrow
set cell=row.insertcell
cell.innerText="a"
wb.document.body.appendChild(tbl)
end sub
by this methos table is created
you can see methods etc by adding reference of MSHTML.DLL in you project and declare
Dim row as new MSHTML.HTMLRow
Now i want to attach event with the row i have been created
library provide us method row.onmouseover
but it accepts object
or other methos is to attachEvent
as we can do it in javascript
to createa function and attach it
but how can i do it in Visual Basic please help me as soon as possible
i need it urgent
Thanks