by Gregg Housh (10 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating:
(5 Votes)

This is used to get the MX records of a host. This is a usercontrol, with a demo project. It has a ton of good code. Including how to get the DNS of your local machine in code in every possible way (there are many). So the control can find the dns itself.
This code has code from Jason Martin (https://www.vbcoders.com/xq/ASP/txtCodeId.11006/lngWId.1/qx/vb/scripts/ShowCode.htm)
Inputs
host, ie: mail.com
Code Returns
MX host, ie: intake-1.mail.com
Side Effects
none.
API Declarationsin the zip