Dear Sir,

 Hi, I am darith. I am in fourth year at RUPP in field computer science.

 I have one question to ask you. I hope you don't mind me and share
 your idea.

 I want code vb.net to set focus(send cursor) to ms word.

 for example my coding,

 Imports Microsoft.Office.Core
 Imports Microsoft.Office.Interop

 Dim wapp As Word.Application
 Dim wdoc As Word.Document
 wapp = GetObject(, "Word.Application")
 wapp = Nothing
 wdoc = wapp.ActiveDocument
 wapp.Visible = True

 ** this is my code to connect with MS word. then i want code vb.net to
 set focus on Ms word. In text box we just write textbox.focus(), but
 to focus on MS word i don't know how to write. please give me some codes.

 Please help me.

 Thank you for your assisting.

 Best Regards,

 Darith
       
---------------------------------
You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.

Reply via email to