Functions to DLL

Functions to DLL

Anonymous
Not applicable
304 Views
5 Replies
Message 1 of 6

Functions to DLL

Anonymous
Not applicable
I have a function I created awhile back to create a selection set. I pass it
the block name and then get the selection set back. I use this in almost all
of my projects, come in very handy for me. As you know I have to add the
module to all my projects to use it.

I know next to nothing about DLL files so my question is. Is it possible to
put this function in a DLL file and use it from there?

Thanks all!

Heath
0 Likes
305 Views
5 Replies
Replies (5)
Message 2 of 6

Anonymous
Not applicable
Only if you have a programming language other than VBA. However,
unless you have several functions to place in the library, it'd
be complete overkill to create a DLL for a single routine.

--
Good judgment comes from experience.
Experience comes from bad judgment.

http://www.acadx.com


"Heath" wrote in message
news:AA2B129D8E2BF1319D50D5D189F99A30@in.WebX.maYIadrTaRb...
> I have a function I created awhile back to create a selection
set. I pass it
> the block name and then get the selection set back. I use this
in almost all
> of my projects, come in very handy for me. As you know I have
to add the
> module to all my projects to use it.
>
> I know next to nothing about DLL files so my question is. Is it
possible to
> put this function in a DLL file and use it from there?
>
> Thanks all!
>
> Heath
>
>
0 Likes
Message 3 of 6

Anonymous
Not applicable
Frank,

I use VB6 and VBA. I also have about 20 different functions that I use quite
often I was thinking of adding all of them to a DLL. I just don't know if
its possible or where to even start.

Thanks frank.

Heath
"Frank Oquendo" wrote in message
news:398F527A1360ED202A6E86603A9B2447@in.WebX.maYIadrTaRb...
> Only if you have a programming language other than VBA. However,
> unless you have several functions to place in the library, it'd
> be complete overkill to create a DLL for a single routine.
>
> --
> Good judgment comes from experience.
> Experience comes from bad judgment.
>
> http://www.acadx.com
>
>
> "Heath" wrote in message
> news:AA2B129D8E2BF1319D50D5D189F99A30@in.WebX.maYIadrTaRb...
> > I have a function I created awhile back to create a selection
> set. I pass it
> > the block name and then get the selection set back. I use this
> in almost all
> > of my projects, come in very handy for me. As you know I have
> to add the
> > module to all my projects to use it.
> >
> > I know next to nothing about DLL files so my question is. Is it
> possible to
> > put this function in a DLL file and use it from there?
> >
> > Thanks all!
> >
> > Heath
> >
> >
>
>
0 Likes
Message 4 of 6

Anonymous
Not applicable
in the visual basic documentation, under using visual basic, the component tool
guide, creating activeX components, creating an ActiveX dll. If you don't have
pro or enterprise go online to msdn

Heath wrote:

> Frank,
>
> I use VB6 and VBA. I also have about 20 different functions that I use quite
> often I was thinking of adding all of them to a DLL. I just don't know if
> its possible or where to even start.
>
> Thanks frank.
>
> Heath
> "Frank Oquendo" wrote in message
> news:398F527A1360ED202A6E86603A9B2447@in.WebX.maYIadrTaRb...
> > Only if you have a programming language other than VBA. However,
> > unless you have several functions to place in the library, it'd
> > be complete overkill to create a DLL for a single routine.
> >
> > --
> > Good judgment comes from experience.
> > Experience comes from bad judgment.
> >
> > http://www.acadx.com
> >
> >
> > "Heath" wrote in message
> > news:AA2B129D8E2BF1319D50D5D189F99A30@in.WebX.maYIadrTaRb...
> > > I have a function I created awhile back to create a selection
> > set. I pass it
> > > the block name and then get the selection set back. I use this
> > in almost all
> > > of my projects, come in very handy for me. As you know I have
> > to add the
> > > module to all my projects to use it.
> > >
> > > I know next to nothing about DLL files so my question is. Is it
> > possible to
> > > put this function in a DLL file and use it from there?
> > >
> > > Thanks all!
> > >
> > > Heath
> > >
> > >
> >
> >
0 Likes
Message 5 of 6

Anonymous
Not applicable
Hi Heath,

Working on Frank's information I documented all the processes as couple of
weeks ago. You may care to search backwards under my posts.

--




Laurie Comerford
CADApps
www.cadapps.com.au

"Heath" wrote in message
news:66BBBE882F2073CD3697EC37E88AE252@in.WebX.maYIadrTaRb...
> Frank,
>
> I use VB6 and VBA. I also have about 20 different functions that I use
quite
> often I was thinking of adding all of them to a DLL. I just don't know if
> its possible or where to even start.
>
> Thanks frank.
>
> Heath
> "Frank Oquendo" wrote in message
> news:398F527A1360ED202A6E86603A9B2447@in.WebX.maYIadrTaRb...
> > Only if you have a programming language other than VBA. However,
> > unless you have several functions to place in the library, it'd
> > be complete overkill to create a DLL for a single routine.
> >
> > --
> > Good judgment comes from experience.
> > Experience comes from bad judgment.
> >
> > http://www.acadx.com
> >
> >
> > "Heath" wrote in message
> > news:AA2B129D8E2BF1319D50D5D189F99A30@in.WebX.maYIadrTaRb...
> > > I have a function I created awhile back to create a selection
> > set. I pass it
> > > the block name and then get the selection set back. I use this
> > in almost all
> > > of my projects, come in very handy for me. As you know I have
> > to add the
> > > module to all my projects to use it.
> > >
> > > I know next to nothing about DLL files so my question is. Is it
> > possible to
> > > put this function in a DLL file and use it from there?
> > >
> > > Thanks all!
> > >
> > > Heath
> > >
> > >
> >
> >
>
>
0 Likes
Message 6 of 6

Anonymous
Not applicable
In most of the languages I use, there are libraries of functions
that I frequently re-use, but I don't put them in DLLS, I just
create a 'blank' or template project that I can start with, add
to that everything that I will use in all projects, and then use
that 'template' project as a starting point, rather than starting
from scratch each time.

DLLs are good when you want to update the code in the DLL on a
system where it is already deployed, without having to recompile
and redistribute the entire application.


"Heath" wrote in message
news:66BBBE882F2073CD3697EC37E88AE252@in.WebX.maYIadrTaRb...
>
> I use VB6 and VBA. I also have about 20 different functions that I use
quite
> often I was thinking of adding all of them to a DLL. I just don't know if
> its possible or where to even start.
>
0 Likes