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

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.aspx/word-programming/200603/1

Re: How to make a dll in vb 2005 by Jezebel

Jezebel
Mon Mar 13 15:23:50 CST 2006

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.





"Orchid via OfficeKB.com" <u19414@uwe> wrote in message
news:5d323521c6496@uwe...
> 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
>
> --
> Message posted via OfficeKB.com
> http://www.officekb.com/Uwe/Forums.aspx/word-programming/200603/1