helo frnd,

i heve a textbox and button on form. textbox having some value in it. on page load A new word object is open and when i lclicked button the textbox text will enter in word file (whrere my cursor positioned)
can i do the application...

here is my code but it not doing well

Onclick of Button

Code:
'ON PAGE LOAD
dim objApp as new Microsoft.office.interop.word.application
objApp.visible = True
objApp.Activate()

'On Button Clicked
objApp.selection.InsertAfter(//value from textbox)
where i am wrong???

what should i do ???

regards,
koolprasad2003