Home All Groups Group Topic Archive Search About

Using Word 2000 in an application

Author
30 Mar 2005 8:17 AM
Helen Trim
I have an application that allows users to edit documents
using Word 2000.  Sometimes it opens Word but the toolbars
are missing.  Users find this very frustrating.  I can't
track it down as it is intermittent.

Has anyone else had this problem?  Any ideas?

I create the class with:

Public Class WordCreateLetterClass
  Public WithEvents WordApp As Word.Application

  Public Sub New()

    WordApp = New Word.Application
    Me.WordApp.WindowState =
Word.WdWindowState.wdWindowStateMaximize

  End Sub
End Class

and instantiate it with:

  Letter = New WordCreateLetterClass
  Letter.WordApp.Documents.Open(FileName:=gstrTemplate,
ReadOnly:=True, AddToRecentFiles:=False)

  Letter.WordApp.ActiveWindow.View.Type = 3 ' PrintPreview
  Letter.WordApp.Visible = True
  Letter.WordApp.Application.Activate()


Thanks in advance
Helen

Author
30 Mar 2005 10:02 AM
Crouchie1998
Hi Helen,

What version of MS Word are you using?

Are you also using the PIA's?
Author
30 Mar 2005 12:46 PM
Helen Trim
The app uses Word 2000.  It doesn't use the PIA.

Helen

Show quoteHide quote
>-----Original Message-----
>Hi Helen,
>
>What version of MS Word are you using?
>
>Are you also using the PIA's?
>
>
>
>.
>