All you need is just put Rodik code into a DLL and reference your project this DLL, So you can reuse the code easily. :)
Printable View
All you need is just put Rodik code into a DLL and reference your project this DLL, So you can reuse the code easily. :)
how do you put the code in a DLL?
When starting a new project in VB, choose a DLL-type of project instead of Standard EXE.
Create a new ActiveX DLL and put the code into it then compile it as a DLL file. But meanwhile you may need to change some of the declaration and code as well.
I'd love to create that DLL so I could reuse the code later on. Unfortunatelly I've... never created a DLL before. Could you be more specific please?
Thanks
What exactly do you mean by "validate passwords"?
Usually a password is a textual (or alphanumeric) string that is known ONLY to the user and is entered for purposes of confirming they are the person they say they are.
Therefor "generating passwords" means you can really give them anything...
"validating passwords" is thus comparing the value they type in with the value you have stored against them.
I get the feeling what you ACTUALLY mean is to generate "registration numbers"
You want to be able to give a person some long and wierd string based on the information they give you so that you can then confirm this another time to make sure they have actually registered their program with you.
Therefor if someone changes the name the program stops working because the "registration number" was based on the actual contents of the name field to generate and now it will fail.
Does that about sum it up?
You're right Gen-X,
What I want is:
- ability to make up registration IDs
- have a function in my app that will check for valid IDs
- preferably put this function in a DLL so I can reuse it
Is there a difference between an ActiveX DLL & regular DLL?
How do you create a DLL & put couple of functions in it for future use?
Thanks
Tomexx
You can only make ActiveX DLL in VB.
For a normal DLL you need C++ (or another language)
In C++ you can make DLL's and Static Libraries.