Convert IP to Long and Back to Dotted
Version Compatibility: Visual Basic 6
This Function is one I decided to create because I could not find a more efficient one. If anyone has suggestions or API's that can be used then I am more than willing to improve the code. In the absence of more information this function merely converts an IP Address to its numeric value or back again depending on what is parsed. As always free without obligation or fanfare - Enjoy
Instructions: Copy the declarations and code below and paste directly into your VB project.