473,586 Members | 2,839 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 WordCreateLette rClass
Public WithEvents WordApp As Word.Applicatio n

Public Sub New()

WordApp = New Word.Applicatio n
Me.WordApp.Wind owState =
Word.WdWindowSt ate.wdWindowSta teMaximize

End Sub
End Class

and instantiate it with:

Letter = New WordCreateLette rClass
Letter.WordApp. Documents.Open( FileName:=gstrT emplate,
ReadOnly:=True, AddToRecentFile s:=False)

Letter.WordApp. ActiveWindow.Vi ew.Type = 3 ' PrintPreview
Letter.WordApp. Visible = True
Letter.WordApp. Application.Act ivate()
Thanks in advance
Helen
Nov 21 '05 #1
4 1149
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.publi c.office.develo per.x

there are a lot.

Cor
Nov 21 '05 #4
"Helen Trim" <he********@REM OVEporthosp.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 WordCreateLette rClass
Public WithEvents WordApp As Word.Applicatio n

Public Sub New()

WordApp = New Word.Applicatio n
Me.WordApp.Wind owState =
Word.WdWindowSt ate.wdWindowSta teMaximize

End Sub
End Class

and instantiate it with:

Letter = New WordCreateLette rClass
Letter.WordApp. Documents.Open( FileName:=gstrT emplate,
ReadOnly:=True, AddToRecentFile s:=False)

Letter.WordApp. ActiveWindow.Vi ew.Type = 3 ' PrintPreview
Letter.WordApp. Visible = True
Letter.WordApp. Application.Act ivate()
Letter.WordApp. Application.Scr eenUpdating


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
6636
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. Our first cut used early binding and worked fine with Office 2002. We then ran on a machine that had Office 2000 installed and it all turned to...
3
1907
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
1348
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 Object Library In runtime, when I click that button, I open a word doc. I create a commandbar whith in that commandbar a combobox with a list of...
1
1782
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 may work, but most of the time it doesn't. I followed the instructions on how to install the Office XP PIA's, but I don't think it installed...
4
1677
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 2000. She is a high school student. English is not her first language. I find the "Lookup" facility in Word 2003 very useful. I think she woud
0
7911
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7839
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8338
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7954
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6610
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5710
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3836
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3864
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1179
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.