Seems to be a bot which is attaching the same question over and over again...

This IS how a dll is to be used: You HAVE to declare its functions somewhere in your code to make them useable.

Another way of making functions of a dll known to your program without declaring is, you wrie a type-library file. In a way you have to write all the declarations in an external textfile, using the MIDL (microsoft interface description language) and use an apropriate tool to convert this into a .tlb (type library) which you can register with REGTLB. When you set a reference to this tlb then, you don't need to declare the functions in VB anymore.

But making a tlb requires you to learn MIDL syntax and usage of the compiler, and maybe it is easier to write the declarations in standard VB style with Declare Function lib "mylib.dll" (...

Here is more detail: http://msdn.microsoft.com/en-us/library/ms221567.aspx