Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21089

[RESOLVED] ActiveX DLL- Include common Subs/Functions that should not need Object Instantiation

$
0
0
Hey all,

What I'm trying to do is store some common Subs/Functions (that I would put in a Module) inside of an ActiveX DLL so that I can reuse the code for all of my applications.

I was hoping not to do Object instantiation because some of the Functions return Objects (and act like Constructors). Also I have some other functions/subs that should not require instantiation as they only work with the arguments passed on to them.

Anyways, I was trying to include a Module in the DLL I'm working on, yet it doesn't have scope outside of the DLL. That is... my applications cannot call the functions inside it.

I'm not exactly sure that making an ActiveX DLL is the correct route I want to go.
Ultimately, I'm trying to call a Function/Sub as if it was included in the application's project that I intend to use it in... Except, I don't want to re-type it into every application that needs the use the Function/Sub.

Your help is greatly appreciated! :)

God Bless,
-Nick

Viewing all articles
Browse latest Browse all 21089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>