On 31/03/2008 03:38, ddda rith wrote:
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 need to ask Microsoft about how to use its product. Or perhaps ask
in one of the many technical forums relating to Microsoft Word. Or buy a
book
This is a volunteer group supporting OpenOffice which is *free* software
that competes with Microsoft Office. OpenOffice runs on Windows, Mac and
Linux. You can download it from www.openoffice.org where you will also
find links to extensive documentation (also free). OpenOffice has its
own programming language (a form of Basic) for doing the sort of thing
you are talking about but you can also use other languages. See
http://development.openoffice.org/ for more details.
--
Harold Fuchs
London, England
Please reply *only* to [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]