Is there anyway you can write functions in DLL's in VB that can be declared using the Declare keyword or is there any way to add references to DLL's using code. If you can please explain how to do either, I'm completely useless when it comes to DLL's. :confused: