Can I use Word add-in libraries (WLLs) in Visual Basic(not WordBasic)?

S

Song

Dear All!

Can I use Word add-in libraries (WLLs) in Visual Basic(not WordBasic)?

Please give me some information about this.
Thanks!
 
C

Cindy M -WordMVP-

Hi Song,
Can I use Word add-in libraries (WLLs) in Visual Basic(not WordBasic)?
I'm not sure exactly what you're asking. Do you mean, can you create a
WLL that uses Word-VBA commands? No, you cannot. WLL is old technology
that went "out of scope" in the move to Word 97, quite a few years ago.

You'd have to create a COM DLL Addin in order to use the VBA object
model.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 
H

Howard Kaikow

My recollection is that a WLL is just a DLL with extra hooks so Word will
automatically load the WLL if in the Startup directory. Not sure I trust my
recollections.

However, if you have the original source, you are better off just building
an ActiveX DLL.
 
S

Song

Dear Howard Kaikow!

Word automatically load the WLL as you said.
The MathType API consists of a DLL, a WLL.
I'd like to mathtype API in visual basic(not WordBasic).

To use mathtype API in visual basic(not WordBasic),
I tried to load mt5.dll and mathpage.wll in visual basic
, but failed.

Could I use matype API in visual basic(not WordBasic)?
Please give me some information about this.

Thanks!
 
H

Howard Kaikow

A properly written ActiveX DLL can be used with VB.
You have to know how to pass the arguments.

I've never tried using a WLL with VB.

According to MSFT KB article 183758, one can use a WLL with Word 97, so I
would guess that you can.
The example they give shows building the WLL using C++.

Also, see KB articles 190057 and 195483
 

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