How to make a dll in vb 2005

  • Thread starter Orchid via OfficeKB.com
  • Start date
O

Orchid via OfficeKB.com

Hi All,
I created a macro in word and I'd like to have a dll file and call it from my
macro,but I don't know how to make a dll in vb 2005,I don't know how to write
my function in dll file,is there any special format or keyword for it,
I make a dll via vb.net way but when I call my function in dll I get below
error:
"can't find Dll entry point for function ..."
If who know my answer Please help me .
Best Regards.
Orchid
 
J

Jezebel

In VB, when you create a new project it asks you the project type. DLL is
one of the options. And your code has to be structured as an object model,
with a main, public class.

You'd be better asking VB questions in a VB forum. You can't create DLLs
from VBA.
 

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