i get a error when i program tries to execute the below code
CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Document.Write(HTML)

the error says
Nullreference exception was unhandled
Object reference not set to an instance of an object.


so i have to create a new instance of a object using new operator

Can anyone tell me how do i do it ???