Answer: In VB6, you can use the Inet control to obtain the domain name of the website. The specific case code is as follows: Dim Inet1 As Object Set Inet1 = CreateObject("InetCtls.Inet") Inet1.URL = " http://www.example.com " Dim domain As String domain = Inet1.GetDomainName
vb6 gets domain name case code from URL
Guess you like
Origin blog.csdn.net/weixin_35751194/article/details/129606957
Recommended
Ranking