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 4 1149
Didn't you ask this same question within the past few days?
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?
.
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
"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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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...
|
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
|
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...
|
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...
|
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
| |
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...
|
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...
|
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...
|
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...
|
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...
|
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...
| |
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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...
| |