Discussion Locked

WinWord as Doc Editor in VB Application

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I would like to integrate WinWord as a document editor in a (VB) application (the fact that it is a VB app is not essential). I'd like to do it the way Outlook does it. Does anyone know how to achieve this?
I succeeded integrating my app in WinWord97, but this is not sufficient since my method is not portable across different versions.

5 replies

by nils

2 things you need to do

decide early or late binding

call the object you need.
for the second you are trying to get a
module handle for the applicable windword so for a late bound client use a select case or an error loop to get the version of winword you are looking for If that isn't sufficient I think the "name" of a winword object is "opus" (just like vb a vb form is thunderform)

This discussion is closed to new replies.