in c++, you do explicit linking by using loadlibrary and getprocaddress(). Can the same be done in vb.net? could I call dll functions the same way? other than using the code:

public declare function dllfunction lib "mydll.dll" () as integer

if so, how?