making a module usable by all projects

  • Thread starter Thread starter ziad dodin
  • Start date Start date
Z

ziad dodin

I developed a module that converts money amounts into
words; this module is essential in all financial
applications like cheques, invoices, bills etc. I need to
know in detail how to make it callable or usable by any
other project or application; how to make it usable like
all built in functions, methods etc. in the vb.net
framework ? help please
 
Build it into a .dll can then sign it and add it to the GAC. If you google
on Global Allocation Cache there are many examples.
 
* "ziad dodin said:
I developed a module that converts money amounts into
words; this module is essential in all financial
applications like cheques, invoices, bills etc. I need to
know in detail how to make it callable or usable by any
other project or application; how to make it usable like
all built in functions, methods etc. in the vb.net
framework ? help please

Instead of the module, create a class, mark the methods as 'Public
Shared' and add it to a Class Library project. Then reference the DLL
from your EXE projects.
 
Back
Top