Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / VB Syntax / June 2004



Tip: Looking for answers? Try searching our database.

converting IHTMLElement to IHTMLDOMNode

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bob - 20 Jun 2004 03:48 GMT
I am doing DHTML programming and I need to convert
IHTMLElement to IHTMLDOMNode so I can use the appendChild
method of IHTMLDOMNode. How can I convert IHTMLElement to
IHTMLDOMNode using Visual Basic?

Thanks,
Bob
Eduardo A. Morcillo [MS MVP VB] - 20 Jun 2004 05:16 GMT
> I am doing DHTML programming and I need to convert
> IHTMLElement to IHTMLDOMNode so I can use the appendChild
> method of IHTMLDOMNode. How can I convert IHTMLElement to
> IHTMLDOMNode using Visual Basic?

If the object implements both interfaces a simple Set will do it:

Dim oElement As IHTMLElement
Dim oNode As IHTMLDOMNode

Set oNode = oElement

Signature

Eduardo A. Morcillo [MS MVP VB]
http://www.mvps.org/emorcillo

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.