Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Building a personal library of subs and functions 1

Status
Not open for further replies.

zggs90

Programmer
Sep 3, 2001
58
GB
I would like to create some form of shared library that I can put all my little functions in and then share it with all my programs. I have tried building an ActiveX dll using a reference to it but I need to establish a new instance of the Class which is a pain.

I simply want to be able to code in VB something like

X = MyFunction(y,z)

Where MyFunction is stored in a library of my subs and functions. Is it possible to build some form of library that will allow me to do this?
 
But of course! Just change the instancing of your ActiveX DLL to globalmultiuse. Job done.
 
Life is so easy when you know how.

Many thanks - made my day.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top