Word Object exsists -
Hi,
If you open a Word Object using say
Set Word = CreateObject("word.application")
is there a way to set Word = nothing once the user closes that instance of word?
Word Object exsists -
Hi,
If you open a Word Object using say
Set Word = CreateObject("word.application")
is there a way to set Word = nothing once the user closes that instance of word?
Check if file exsists -
There was some code floating about that I cant find on search that would cehck if a file exsists. Could someone help?
win api to see if a reg key exsists -
Hi all,
All I want to do is check to see if a key exsists and if so just return a boolean value. for example.
HKey_LOCAL_MACHINE
software\microsoft\visualbasic\6.0\
if this is there return true.
I think I have to use RegOpenKeyEx in api but not sure on how to do it. If s
If a certain file does not exsists then end program -
I'm trying to find a script that when the program starts it looks in a certain place for a file. If the files doesn't exsists i want the program to end.... who do i do this..... Please help
Saving WORD document in an ADO OLE Object -
I am trying to save a WORD document fragment in and OLE Object in Access. I am using VB5/DAO 2.7.
From within Access I can paste in word documents, but can't do it programmatically.
I have a WORD.Document object that I can manipulate, and an ADODB.Recordset object including the
Word App in VB -
Hi All,
I want to incorporate a word object in my VB application. I've tried referenceing the Microsoft Word Object Library in Project--> Referneces and the created a object as word.document. but i'm unable to insert/retrieve text from the methods of the object.
The error I get
Word as object -
Hi,
got the following situation:
Dimmed WordApp as object
Set it to createobject Word.Application
All works fine but...
Let's say I want to open a file in Word, but there is a FileSaveAs screen openened in Word by the user.
My app will wait a few seconds and then says:
Word is
Terminating WordBasic Object/Word 2000 -
I am migrating a VB app that was developed in Win95, to now run in Win2k. This app opens up Word and then closes Word when the app shuts down. The app uses the WordBasic object and it must stay WordBasic. Presently, the app is shutting down Word by setting the "object = Nothin
Referencing Diff Word Object Librarys -
Okay... here is my issue.
I am developing an small utility that references the Microsoft Word 8.0 Object Library (Word97)
But I running it on work PC's that run Microsoft Word 11.0 Object Library (Word 2003).
How do I deal with this??
Thanks
Imbed a Word Document On a Form. -
I am trying to set up a form with an MS-Word Document. The word document will be on the form and not a stand-alone application. To set this up I selected components, then insertable objects, and added a Microsoft Word Document. Now I added the new object to the form. I also have s
[2008] getting object from process -
Is there a way to get a currently running process and set it to an object and start using that process.
So for example say in my application I want to spell check a textbox using Word's spellchecker. If Word is not running already the spell checker appears and works as desired. Ho
FileSystemObject instead of Word Object -
Hi All
I use MS Word Templates with bookmarks to create documents that is send to the clients.
I use the Word object to do all this and everything is working fine, but unfortunately it takes some time to complete, when proccessing document creation for over 1000 clients, it can t
Select MS Word Object Library in project -
Word.Basic will always reference the latest version of MS Word. It also appears that the two interfaces are binary compatible because they both have the same Class IDs.
(I only have Word 2000 on my system, but Word.Basic, Word.Basic.8 and Word.Basic.9 have the same CLSIDs, plus micros
Word Macro problem -
How can I change the property 'type' of a microsoft word 'selection' object?
In particular I must copy from an Excel doc to a Word doc, an image, but in word document the image must be in a table cell and not floating in the document.
I need in fact an object with 'type = 7', but w
BVA - Object Library Handling -
I have a small VBA app which resides on a server.
the app declares a word.application in order auto complete a word template and present it to the user.
The trouble is that the users of the app have different versions of the MS object libaries on their PC's, namely some with Micros
VBA cannot create MS Word Object- ActiveX Error -
I am trying to create a word object using VBA.
Word Object is created when the word is installed as a Office
Component.
Word Object is not created when the word is installed as a stand alone
product. It gives a ActiveX Error.
Can any one tell where I have gone wrong or Is so
Word 2K object -
I have a VB 6.0 project that has a reference to the Microsoft Word 9.0 Object Library, which is for Word 97.
Does anyone know if Word 2K has an Object Library I can download to reference Work 2K in my program?
Thanks
PT
MS Word 98 Object Library with Word 2000 -
I wrote a program that uses the Microsoft Word 8.0 Object Library to write to Word documents, etc. Will that program run unmodified on a PC that has Word 2000 rather than Word 97?
Wierd happenings opening Word through Object Library -
I use the MS Word object library to open up a Word document through my VB app. With no pattern at all, sometimes the Word application is ok, other times it appears without any drop-down menus or toolbars. The call to open Word is through the same point in my app, and any parameters are
DAO References in Microsoft Word -
I have some Word templates making use of DAO in an environment where both Word 97 and Word 2000 are being used. Rather than maintaining two sets of templates is there a way to:
1 Detect the appropriate DAO Library for the version of Word
i.e
Microsoft DAO 3.6 Object Library for us
VB and the MS Word Object -
I've got an application that uses the MS Word object to create mail merge documents based on the data within the VB screens. I have no problem getting MS Word to merge the data. However I want to force the user to save the document using the VB interface rather than the Save button w
Back-compatability of MS Word 9.0 Object Library -
I have an app that references the Microsoft Word 9.0 Object Library (Word 2000) which works fine on my development PC which has Office 2000 on. When I install the app on other PC's that have Office 97, any code that taps into the Word library causes an illegal operation. Is there any w
Word macro VB/VBS table issue -
I'd like to programatically identify which cell of a table my cursor is in at the push of a button within word.
I'm trying to use the object browser within the VB environment within word to identify exactly to what part of the Word object model I need to refer to get the RowIndex an
ole with word -
ok in a program im writting we use word to edit a statement so the customer has the full word processing enviromnet to edit with.... now we can use the ole object to control word if it is open seperately no problem, but what i want to do is open word with my vb app so i can make sure t
Using word to create a report!!!! -
Hello people:
im using vb 6.0 to create a word document...
here we have the word library 9.0 and i know that the computers that we are going to install the sw have diff'nt versions of word (95, 97 etc).
my question is: if the pdw installs the word 9.0 object library, is it go
Automation with Word -
I'm using VB6 to automate creating a word document based on data that a user enters into a form that is stored into an Access 97 database.
I can get the text from the database fields and replace them in the word document but I can't figure out how to "cut and paste" an OLE ob
Word Document to HTML -
Hi, I'm new to VB so go easy on me. I need to write some code that opens a Word Document and then either extracts the data so that a HTML document can be created or simply resaves it as an HTML document.
I've had a quick look around the net and tried adding an Object Reference to Mic
How to check user has word doc application -
Hi, there, I want to user MS WOrd Application to do spellcheck,
Dim x As Object 'create word object variable
Set x = CreateObject("Word.Application")
How to detect if the user has MS word installed in his local computer?
Thanks for any idea and coding!
gi
DLL question.... -
I am trying to write a COM Object that has functions to create a "Word.Application" object, write and format some data in the document and then save the document.
This dll will be registered and run on my Personal Web Server from which I will access the COM object via script
[2005]Automating MS Word Using VB.NET question -
Hi all,
I need some suggestions about automating MS Word using VB.NET. I searched this forum to find some information about programming word with Vb. I found many interesting things but still I have some questions:
Which versions of Word I can interact with? I saw that in Visual
Access to Word with VBA -
I have a database that manipulates a word template and then merges data into it. I am trying to speed up the processing and I am not sure what else I can do.
I have turned screen updating off, I have turn the object to invisible, I am thinking there might be away to run the updated
Microsoft Word Object 8.0 -
I am trying to open word in windows 2000 vb enterprise edition, i added the ref and the lines
In Declarations :
Option Explicit
Dim ObjWord as Word.Application
And in Code:
Set objWord = New Word.Application 'the error
Eve
Controlling Word Or Excel (Resolved) -
Hi,
I've done it in VB no problem. Create an object assign it to application.Word or application.excel and away you go. However, in VBA (MS Access) Object function/type doesn't exist.
Does anyone know how to get an object of Excel/Word in VBA (Access) ? It has to be simple cause
Automation with Access97 and Word -
I'm using VB6 to automate creating a word document based on data that a user enters into a form that is stored into an Access 97 database.
I can get the text from the database fields and replace them in the word document but I can't figure out how to "cut and paste" an OLE ob
SOLVED Adding a dynamic macro from VB into Word VBA. -
Hi,
There is a word object created in the VB application. I need to add a macro into the word object to run it. I am not sure whether the answer is RecordMacro.
Any idea?
Thanks
Mavera1
Word Object conflicts -
I am working on an application that uses Word for its
printouts. Currently my machine has Office 2000
loaded on it. I refernce the Word 9.0 object library.
But, if this application gets loaded onto a machine
with Office 97 the Word 8.0 object has to be
referenced. Is it pos
Word 10.0 Object Library -
I have an application that automates MS Word. The app functions properly with Word 2000 but when run on a system with Word XP it faults.
Here is a snippet of the problem code.
Set SoapNote = New Word.Application
Set SoapDoc = SoapNote.Documents.Add(TemplateName) 'Code Faults he
Checking for a file -
How would I check if a certain text exsists, so that if it doesn't i can create one.
*RESOLVED(I Hope)*Word Shared add-in weirdness -
Currently I'm writing a shared add-in project for Word 2000, which is all nice and good and flowers etc, except: the bl**dy thing only runs once.. Now I've noticed Word changes the loadbehavior of my shared add-in from 3 (connected and startOnBoot) to 2 (startOnBoot) after the first ti
MS Word Object Question -
Does anyone know if there is a way to change the Title of a document in MS Word through code. The way you change it manually is through the File|Properties and it is on the second tab. I am trying to change this field through the Word 9.0 object in VB. I tried to record a macro, but