By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,702 Members | 1,485 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,702 IT Pros & Developers. It's quick & easy.

Using Word 2000

P: n/a
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:=gstrTempla te,
ReadOnly:=True, AddToRecentFiles:=False)

Letter.WordApp.ActiveWindow.View.Type = 3 ' PrintPreview
Letter.WordApp.Visible = True
Letter.WordApp.Application.Activate()
Thanks in advance
Helen
Nov 21 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Didn't you ask this same question within the past few days?
Nov 21 '05 #2

P: n/a
Yes, but the only answer I got was another question. Not
very helpful!
-----Original Message-----
Didn't you ask this same question within the past few days?

.

Nov 21 '05 #3

P: n/a
Helen,
Yes, but the only answer I got was another question. Not
very helpful!

Probably because this is not about the language vb, however more about the
classes from Word that it uses. About that you probably can get more
information in an office developers newsgroup like

microsoft.public.office.developer.x

there are a lot.

Cor
Nov 21 '05 #4

P: n/a
"Helen Trim" <he********@REMOVEporthosp.nhs.uk> schreef in bericht
news:0f****************************@phx.gbl...
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:=gstrTempla te,
ReadOnly:=True, AddToRecentFiles:=False)

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


Thanks in advance
Helen

Try a screenupdate.

Marcel
Nov 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.