msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

using functions and procedures in VB6 from an AddIn (create

 
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Enterprise
Author Message
Microsoft



Joined: 15 Jan 2008
Posts: 1

PostPosted: Tue Jan 15, 2008 10:34 pm    Post subject: using functions and procedures in VB6 from an AddIn (create Reply with quote

Hi

I have created an AddIn with VB6 containing functions and procedures
(defined as pulic). Now I would like to use it in other VB applications.
Can someone tell me how I have to define it for using (Public Declare..) an
do I have to implement additional something in the Addin (.dll)?

Many thanks in advance

Archived from group: microsoft>public>vb>enterprise
Back to top
View user's profile Send private message
Ken Halter



Joined: 04 Oct 2007
Posts: 4150

PostPosted: Tue Jan 15, 2008 1:36 pm    Post subject: Re: using functions and procedures in VB6 from an AddIn (cr Reply with quote

"Microsoft" wrote in message
news:%23iSQ2R5VIHA.4868@TK2MSFTNGP03.phx.gbl...
> Hi
>
> I have created an AddIn with VB6 containing functions and procedures
> (defined as pulic). Now I would like to use it in other VB applications.
> Can someone tell me how I have to define it for using (Public Declare..)
> an do I have to implement additional something in the Addin (.dll)?
>
> Many thanks in advance

I'm not sure what you'd want that for... if you're running a compiled app,
you'll need to distribute your addin DLL along with it, if you want to use
its functions. Addin's are specifically for the IDE. They weren't designed
to share data or automation with a compiled app.

But, anyway... if you can give a description of what your desired end result
should be, we can probably come up with something.

btw, if you want to use the DLL itself, without it's "Add in" functionality,
sure... just add publics to the DLL and use it like any other.

--
Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
In Loving Memory - http://www.vbsight.com/Remembrance.htm

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Enterprise All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group