Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to bind to html events

Status
Not open for further replies.

saimagulse

Programmer
Aug 5, 2006
9
0
0
PK
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top