-
We are currently working on building new function libraries and we're wondering what kind of functions/properties/types/constants/enums/etc... people would like to see. Please reply to this post or e-mail us at [email protected] &/or [email protected]. Thank you very much.
-
what do you mean by a reference library.
-
A reference library is a library of functions and procedures that you can use. For Example:
VBA is a function library. It contains functions such as:
msgbox
inputbox
all the basic functions you have in VB
We are simply creating new libraries to make all of our coding lives easier.
-
How about functions to access the registry? I hate having to re-copy my code every single time I try to do it. Or a better type of InputBox? Maybe a function that draws a gradient as well.
[Edited by Megatron on 05-27-2000 at 05:33 PM]
-
meg, why don't you put it in a module and use it instead?
-
That's the hard part. It's about 100 lines of code and I have to copy it into the module each time.
If you mean I should have a template? I could, but if I'm going to make some other functions with it, I might as well get as much as i can and compile it into a DLL.
-
What, don't you know the good thing with modules? Use the same module over and over again, same code in same file, that's how to use it. Also my registry code is compressed to about 30 lines;)
-
No, I mean that when I want to use it in another App, I have to copy it from my App, to another App.
I don't want to use the same module for every App. I like to keep things organized.
-
Well you use your way, i use mine, basically i have a maindir for my applications in subdirs and another maindir with common code, (bas, cls ocx and other stuff), and it's yet organized.
-
But say if you have many different functions in your App that you've made yourself. Say, 30 for example. Instead of stacking it in one big module, wouldn't it be easier just to put it in a refrence library?
-
Actually I have almost all methods separated in different modules, so when i need one of them i just add it to the project. I don't think that big reference library is that good idea, it would just make your compiled even bigger.
-
I like modules better....
I love modules.....
modules are better than dll's....
because they dont have to be registered.... and end users cant screw with them(delete.. etc.)
-
That's my point about not making any dll's just compile everything in your project and you definitely have all code for your own use, not having other borrowing you dll's or the other way round, you using other's probably crap dlls.
-
Well when you put it that way, I guess modules would be better.
-
Modules rocks, and that's what they do, because you wont ever need to do program anything twice. If you do like me, you will end app with you're own huge supply of code