Hi there. I have zero experience with VB and was giving a function coded in VB and would like to compile it into a function to use with another language. Is this code VB 6?

https://justpaste.it/1aykl

I have downloaded MS VB Community compiler, with this can I compile it into a dll? If not what do I need to do this? Thank you for your time and have a good one.