Hi,

I am all new to the Class project and this is my first one.

I have a few bits of code that I am always using in projects and I never get them right first time so I thought it would make sense to make a bunch of dlls containing them for easy use and when I have finished them I will make them available for free through my website however having a bit of a problem getting them to work.

I am not to sure where and how to put things so they can be used by the program using the DLL.

Firstly how do I declare varbiles to be accessed and modified by a program

I tried just at the begging of the class doing:

Public variblename as String()

i also tried putting them in a module and declaring them public but when in the module my program doesn't see them and when they are in the class it sees them but says it can't access them.


Secondly how do I declare the sub so that the program can launch it? I tried a Public Sub and a Public Function.


Thanks,
Max