VB6 Interop.Word.dll

B

Budd

i have been wrote a program about vb.net that include "Interop.Word.dll"
but i need to change it to vb6 for some reason

But when i want to add this "Interop.Word.dll" to vb 6 reference
it have a error

How to add "Interop.Word.dll" to vb6 and work???
There is a version for vb6??
Can you tell me where can i download it???

thank you very much
 
J

Jonathan West

Budd said:
i have been wrote a program about vb.net that include "Interop.Word.dll"
but i need to change it to vb6 for some reason

But when i want to add this "Interop.Word.dll" to vb 6 reference
it have a error

How to add "Interop.Word.dll" to vb6 and work???
There is a version for vb6??
Can you tell me where can i download it???


You have two problems with this.

1. VB6 and VB.NET aren't the same language, not even different versions of
the same language

2. VB6 and VB.NET don't use the same platform (i.e. libraries)

In short, this isn't going to work.

To see how to control Word from VB6, take a look at this article.

Control Word from Excel
http://www.word.mvps.org/FAQs/InterDev/ControlWordFromXL.htm

Don't worry about the code sample being about Excel, much the same code will
work from VB6.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 
B

Budd

Would you mind give me some example about take a word document and find some
word in here and then replace it??

i am not so friendly with vb6, so i hope have some similar example for
reference

thank you so much
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top