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

📄 form1.frm

📁 本文件包含200个visual baisc实例
💻 FRM
字号:
VERSION 5.00
Begin VB.Form form1 
   BackColor       =   &H00FFC0C0&
   Caption         =   "网络拷贝文件夹(客户机)"
   ClientHeight    =   2775
   ClientLeft      =   1545
   ClientTop       =   1545
   ClientWidth     =   5295
   LinkTopic       =   "Form1"
   ScaleHeight     =   2775
   ScaleWidth      =   5295
   StartUpPosition =   1  '所有者中心
   Begin VB.CommandButton Command2 
      BackColor       =   &H00FF8080&
      Caption         =   "退出"
      Height          =   495
      Left            =   2850
      Style           =   1  'Graphical
      TabIndex        =   5
      Top             =   1890
      Width           =   1575
   End
   Begin VB.TextBox Text2 
      Height          =   375
      Left            =   1725
      TabIndex        =   4
      Text            =   "c:\"
      Top             =   1020
      Width           =   2850
   End
   Begin VB.TextBox Text1 
      Height          =   375
      Left            =   1710
      TabIndex        =   3
      Text            =   "\\mr\c\word"
      Top             =   450
      Width           =   2850
   End
   Begin VB.CommandButton Command1 
      BackColor       =   &H00FF8080&
      Caption         =   "拷贝文件夹"
      Height          =   495
      Left            =   960
      Style           =   1  'Graphical
      TabIndex        =   0
      Top             =   1890
      Width           =   1575
   End
   Begin VB.Label Label2 
      BackStyle       =   0  'Transparent
      Caption         =   "拷贝到:"
      Height          =   255
      Left            =   795
      TabIndex        =   2
      Top             =   1140
      Width           =   735
   End
   Begin VB.Label Label1 
      BackStyle       =   0  'Transparent
      Caption         =   "源文件夹:"
      Height          =   255
      Left            =   795
      TabIndex        =   1
      Top             =   540
      Width           =   1470
   End
End
Attribute VB_Name = "form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
  Set p_ofso = CreateObject("scripting.filesystemobject")
  On Error Resume Next
  p_ofso.CopyFolder Trim(Text1.Text), Trim(Text2.Text), True
End Sub

Private Sub Command2_Click()
  End
End Sub

⌨️ 快捷键说明

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