VB中一个按钮两个文本框,怎么通过按钮来获取文本框一的网站并把获取到的网站信息显示在文本框二中?急

2025-03-04 08:17:42
推荐回答(1个)
回答1:

Private Declare Function icePub_openUrl Lib "icePubDll.dll" (ByVal currentUrlString As String, ByVal strHtmlText As String, ByVal TextMaxLen As Integer, ByVal strProxy As String) As Integer

Dim str1 As String
Dim a2 As Integer

str1 = Space(1024 * 20 + 1)

a2 = icePub_openUrl(Text1.Text,str1,1024*20,"")

Text2.Text = str1