?
Solved

How can I achieve backward compatibility with Word 12.0 Object library?

Posted on 2008-06-13
1
Medium Priority
?
396 Views
Last Modified: 2013-11-26
I am writing a program in Visual Studio 2005 (VB.NET), which will need to open a Word Document and modify it. I link Word 12.0 Object library. Backward compatibility goes right until Word XP (2002) where i get the next error :
"Attempted to read or write protected memory".
Would you know how I could achieve backward compatibility with Word XP? thanks in advance
0
Comment
Question by:dannymc2kes
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
dannymc2kes earned 0 total points
ID: 21779180
I think I've solved through late binding.
thanks




Dim oApp As Object
Dim wDoc As Object
 
Try
    oApp = CreateObject("Word.Application")
    wDoc = oApp.Documents.Open(Path)
...

Open in new window

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

770 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