Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / September 2005

Tip: Looking for answers? Try searching our database.

VB6 Interop.Word.dll

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Budd - 05 Sep 2005 15:18 GMT
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
Jonathan West - 05 Sep 2005 19:18 GMT
>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
[quoted text clipped - 5 lines]
> 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.

Signature

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 

Budd - 06 Sep 2005 17:43 GMT
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

"Jonathan West" <jwest@mvps.org>
???????:uK34fbksFHA.4036@TK2MSFTNGP12.phx.gbl...

>>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
[quoted text clipped - 22 lines]
> Don't worry about the code sample being about Excel, much the same code
> will work from VB6.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.