Logo
English Russian German French Spanish Italian
contact usprivacy
   Support Forums
chart
• About the product
• Download (OCX only)
• Download (full setup)
• Writing DNS control
• Using with VB
• Using with MTS/COM+
• Using with VBScript
• FAQ
DNS Control

DNS.ocx is a Visual Basic library, allowing to resolve host names to IP addresses and IP addresses to host names. DNS.ocx is distributed as freeware (as is, with limited technical support) and is free for use in any type of application (personal, open-source, commercial, etc.)
for use with Visual Basic 5 and 6 (any edition):
1)download dns.zip
2)unzip DNS.ocx from it to Windows System directory
3)run "regsvr32 DNS.ocx" from command-line

for use with Visual Basic 4, Visual C++, Delphi, Powerbuilder, ASP, VBA and scripting languages:
1)download dns.exe
2)run it from Windows Explorer

Methods:
DNS.AddressToName(strIP)resolves host IP address to name
DNS.NameToAddress(strName)resolves host name to IP address

Events:
DNS_Error(ByVal Number As Long, Description As String)occurs on error
DNS_ResolveCompleted()occurs on successful execution

Properties:
none

* DNS.ocx works in blocking mode, which means it waits for method to finish. On slow networks, dial-up connections, networks using remote DNS servers it may cause delays in execution.


Copyright © 1996-2009 OstroSoft. All rights reserved. info@ostrosoft.com