473,326 Members | 2,173 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Using Word 2000

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
4 1135
Didn't you ask this same question within the past few days?
Nov 21 '05 #2
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
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
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Mystery Man | last post by:
We are developing a C# application that has many interfaces to the Microsoft suite (eg Word, Excel, Outlook, Powerpoint, etc). We need to support Office 97, 2000, 2002 and any future versions. ...
3
by: John | last post by:
Hi I would like my vb.net app to work with word 2000 and above. What is the method to get the appropriate reference(s) in my vb app? Thanks Regards
0
by: Karel | last post by:
Hi, I have developed a vb.net application to create a mail-merged document by using Automation to word from VB.NET. I added the following reference to the application: Microsoft Office 10.0...
1
by: kwilder | last post by:
Like many other developers I've written a VB.Net app to automate Word 2000. The app does work on my machine, but when I create an Installation package and install it on other users machines, it...
4
by: Lyle Fairfield | last post by:
I asked this question in Microsoft.Public.Word two days ago but I have not received an answer. I believe there are Office Experts here who may be able to help. --------- "A friend has Office...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.