Hello I've posted the way that is used to make dlls in C# in my previous post! Is that what you want?
drdavef wrote:
I want a DLL, that I call AppInfo, which contains general info that all programs need access to, such as SchoolYear
I thought SchoolYear should be stored as a variable, and since you are a programmer you know about scope. How would you store a variable in another module?!! Even in VB I don't think that's possible!!
drdavef wrote:
I am looking for a way to create this DLL such that initialization is very simple.
Well, I haven't worked much in VB, but I've spent a lot of time in C# and I've never heard of Dll init!! dlls are referenced, not intitialized, specially that you are writting these dlls. I have a feeling somehow I still don't get you!! Please forgive me for that:) Another approach to store shared info in an executable is to make it as a win service. I don't think that's what you want, is it?!! Anyway. The way I know it, you want dll it's simple. Make a dll project and reference to it in other projects. You want shared info, store them in a file -careful here for read/write operations- or use a database!! If you managed to store variables in a dll, and share it with other programs, I beg you to write an article about it.I'll be dying to read it:-D Regards:rose: