⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form1.frm

📁 本文件包含200个visual baisc实例
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "下载软件"
   ClientHeight    =   3030
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   5040
   LinkTopic       =   "Form1"
   ScaleHeight     =   3030
   ScaleWidth      =   5040
   StartUpPosition =   1  '所有者中心
   Begin VB.CommandButton Command2 
      Caption         =   "退出"
      Height          =   615
      Left            =   2640
      TabIndex        =   3
      Top             =   1905
      Width           =   1695
   End
   Begin VB.TextBox Text1 
      Height          =   375
      Left            =   165
      TabIndex        =   1
      Text            =   "www.mingrisoft.com"
      Top             =   930
      Width           =   4695
   End
   Begin VB.CommandButton Command1 
      Caption         =   "开始下载"
      Height          =   615
      Left            =   810
      TabIndex        =   0
      Top             =   1905
      Width           =   1695
   End
   Begin VB.Label Label1 
      Caption         =   "请输入下载软件的地址:"
      Height          =   255
      Left            =   165
      TabIndex        =   2
      Top             =   585
      Width           =   2295
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Declare Function DoFileDownload Lib "shdocvw.dll" _
    (ByVal lpszFile As String) As Long

Private Sub Form_Load()
  Text1.Text = "http://www.mingrisoft.com"
End Sub

Private Sub Command1_Click()   '下载
  Dim sDownload As String
  sDownload = StrConv(Text1.Text, vbUnicode)
  Call DoFileDownload(sDownload)
End Sub

Private Sub Command2_Click()
  End
End Sub


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -