WhoIs Control - FAQ
Why does WhoIs controls return black bars to textbox instead of new lines?
Most WhoIs servers are running on UNIX machines and return UNIX-formatted text. You can write simple function to convert UNIX text to DOS:
Private Function UNIXtoDOS(ByVal s As String) As String
UNIXtoDOS = Replace(s, Chr(10), Chr(13) & Chr(10))
End Function
How do I set WhoIs control to receive more than 50 results per query?
WhoIs.ocx doesn't have any control over number of entries in result. It's being set in WhoIs server configuration. Some WhoIs servers limit output to 100, 50 even to 10 entries. The only solution in this case: narrow your search. For example, instead of sending "s." query, send "sm." or "smith", etc.
|