-
I am creating an application which lets managers scan an employee database. When they find the employee they are looking for,they click on a button and view the employee's resume in an RTF box. The resume is originally created in Word, saved, then saved as an RTF file with the same name. The RTF file is what is pulled into the VB RTF object.
What I now need to do is to add a button that will launch Word and open the resume to allow senior managers to edit/update the resume.
Thanks...
-
Add a reference to Microsoft Word 8.0 (or select the highest version you have installed) Object Library. Then use something like this:
Code:
Dim oWord As New Word.Application
Dim oDoc As Word.Document
Set oDoc = oWord.Documents.Open("F:\MyFile.rtf")
oWord.Visible = True
------------------
Serge
Software Developer
[email protected]
[email protected]
ICQ#: 51055819