Solved

OLE with Word 7.0

Posted on 1998-10-08
1
186 Views
Last Modified: 2010-04-30

I am working on developing an application in VB5.0 which
interacts using OLE Automation with Word97.
the code works well with Word 97 . However now I have to
tailor it for Word7.0
Functions like CreateObject, GetObject are not working
with the Word 7.0 version
I need you assitance in the same. Please let me know how
I can use OleAutomation features of Word 7.0 with VB5.0

I need to perform the following task :
- Launching the Word 7.0
- Opening a New document and running a macro.
- Opening a new document and Attaching a template to the  document.
- Supressing the AutoRun macro.
- passing the temporary filename to word.

Pl. reply me ASAP.

I am very thankfull to you all.

Umesh

0
Comment
Question by:umeshkhoje
1 Comment
 
LVL 3

Accepted Solution

by:
vmano earned 100 total points
ID: 1438860
check out the MSDN article Q161547
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Cannot enter table caption text in Word protected document 6 125
VBA error replacing data 6 40
How to Add / Edit Windows Menu 4 60
MsgBox 4 61
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question