Domain IP resolution in...

Hi all, sometimes it could be useful to resolve a domain IP address so i wrote this simple function. Public function GetIP(ByVal domain as String) as String Try Dim Ips As New Collection Dim i As Integer Dim ipEntry As Net.IPHostEntry = System.Net.Dns.GetHostEntry(domain) ...
Age calculation function in vb.net

Age calculation functio...

I know this is a really simple task but i needed it in a project and i found a working function on www.freevbcode.com so i decided to publish it here too Public Function GetAge(ByVal Birthdate As System.DateTime, _ Optional ByVal AsOf As System.DateTime = #1/1/1700#) _ ...