473,785 Members | 2,327 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using Word 2000 in an application


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
2 1063
Hi Helen,

What version of MS Word are you using?

Are you also using the PIA's?

Nov 21 '05 #2

The app uses Word 2000. It doesn't use the PIA.

Helen
-----Original Message-----
Hi Helen,

What version of MS Word are you using?

Are you also using the PIA's?

.

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1551
by: Sudipto Sen | last post by:
================== Problem Description ================== Following code is for 1. Load a Word Template called CustomerInfo1.dot 2. CustomerInfo1.dot is a normal Word Template with Form fields 3. After opening a document on that template, I put "2" in all the fields for test Problem is,
1
1575
by: Raju Joseph | last post by:
Hi All, I have a small problem at hand and am looking for suggestions. I have created a wrapper for word 2000 for our application which is in VB.NET 2003. Everything works fine in the sense that users are able to save documents through our application using word 2000 as the editor. I have written for word 2000 sothat the code works for other higher versions of word.
1
2086
by: RichPu | last post by:
Hi Everyone, I have word 97 and word 2000 installed on the same machine, I need to open word using createobject("word.application") is there a way of choosing which version access will open? at the moment it seems to take the last version that was opened thanks in advance RichPu
1
2148
by: moelleni | last post by:
Hi, I made an Access 2002 Database and wanted to automate it to sent the current record to Word 2002. So readed the article "How to send the current record to Word 2000 with automation" I tried to do this with my db. Here is my code: Private Sub MergeButton_Click() On Error GoTo MergeButton_Err
1
1817
by: Mat | last post by:
Hello everybody. i am having strange problem with Addin for word 2000. after each execution of a function or when user click on my button, a MESSAGE BOX from word application show stating that "The macro cannot be found................" -I would like also to prevent word to start with blank document. but empty !!!
1
1976
by: Arjen van der Hulst | last post by:
Hi all, I am trying to implement some Word-automation using the range.find-object (using VB.net and Word 2000, early binding). The sample underneath worked well, but after installing an 'after SP3 patch' for Word ('upgrading' it to build 9.0.8216), it stopped working and now generates the following error when I try to set the style-part of the range.find object.
4
1159
by: Helen Trim | last post by:
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
2
3684
by: Andrew Cranwell | last post by:
Hi, Please redirect me if I am in the wrong group for this question... this is my first post to this group, so I hope it is clear! I am working on an automation project in VB.NET and have to interact with Word 2000 SP-3 to find and replace text within a word document. Unfortunately, development (not created by me!) occured with Word 2000 SR-1 and on ugrading the references and version to SP-3, some of the code inexplicably stopped...
1
2342
by: Sylum | last post by:
Hi everyone, I'm coding an web application with Javascript and ActiveXWord 2000. Basicly, on the client side, i use javascript to create an instance Word 2000 in order to have a new document from template (.dot) located on my serveur. When the application run i get an error. In fact, the problem come when i put an URL like "http:////myserveur///Modeles//Template.dot" into my method "app_word.Documents.add(URL)" but if i use a classic...
0
9647
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10357
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9959
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7510
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6744
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5532
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4063
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3668
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.