Hi,
I am trying to create a file that is seperate from the EXE file. The application I am making has a typical login form. The usernames and passwords are stored in a database file. Instead of coding the validation of the user into the EXE, I want the code to be in it's own file. I would like to access this file from my application.
At this moment I figure that the validation code should be created as a module. The module should be built as an Embedded Resource.
First question is; is this the best method to do this, meaning would a module be the best approach I want the file seperate because I want the ability to change the validation coding at anytime without having to recompile the EXE file. Logic dictates creating the validation code in a seperate file for this. If a module is not the best way to go then what should I look into
Second question is; how would I access the module from my main application I would appreciate any advice on the best method I should use to accomplish this and any pointing of where I can read more information and learn how to do this type of coding.
Thank you,
James

Embedded Resource?
mfenske
If you pursue this path, I recommend that you think about security; you don't want anybody to be able to replace your login module with their own and allow any password to go through. At the very least, you want to sign your login assembly and validate the signature.
JohnWP
Thank you for the quick response. I will read up on assemblies and signing assemblies.
Thank you,
James