VB.NET优盘自动拷贝程序源代码。。。。。。。
vb.net吧
全部回复
仅看楼主
level 1
feisng 楼主
Public Class Form1 Inherits System.Windows.Forms.Form Dim drives1 As String() Dim drives2 As String() Dim drives As String#Region " Windows 窗体设计器生成的代码 " Public Sub New() MyBase.New() '该调用是 Windows 窗体设计器所必需的。 InitializeComponent() '在 InitializeComponent() 调用之后添加任何初始化 End Sub '窗体重写 dispose 以清理组件列表。 Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components.Dispose() End If End If MyBase.Dispose(disposing) End Sub 'Windows 窗体设计器所必需的 Private components As System.ComponentModel.IContainer '注意: 以下过程是 Windows 窗体设计器所必需的 '可以使用 Windows 窗体设计器修改此过程。 '不要使用代码编辑器修改它。 Friend WithEvents Timer1 As System.Windows.Forms.Timer
Private Sub InitializeComponent() Me.components = New System.ComponentModel.Container Me.Timer1 = New System.Windows.Forms.Timer(Me.components) ' 'Timer1 ' ' 'Form1 ' Me.AutoScaleBaseSize = New System.Drawing.Size(6, 14) Me.ClientSize = New System.Drawing.Size(292, 273) Me.Name = "Form1" Me.Text = "Form1" End Sub#End Region Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load drives1 = System.IO.Directory.GetLogicalDrives() Timer1.Enabled = True End Sub Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick On Error Resume Next drives2 = System.IO.Directory.GetLogicalDrives() If drives1(drives1.Length - 1) <> drives2(drives2.Length - 1) Then drives = drives2(drives2.Length - 1) UPcopy(drives) End If End SubPrivate Sub UPcopy(ByVal drive As String)加密部分,想要的,可以联系。。。。End SubEnd Class
2007年11月07日 04点11分 1
level 0
汗!刚学的东西就出来晒.
2007年11月07日 13点11分 2
level 0
我要代码的解释
2007年12月26日 00点12分 3
level 0
我是一个编程爱好者。我想要。我QQ是427754611 加我!谢谢
2008年10月27日 00点10分 4
level 1
有没有详细的
2008年10月27日 01点10分 5
level 6
..
2008年11月12日 11点11分 6
level 0
哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈
2008年12月28日 18点12分 7
level 11
看不见图…
2008年12月29日 04点12分 8
level 7
看了他的代码产生个疑问vb.net 里用 On Error Resume Next ?貌似容易造成不少麻烦事吧。
2008年12月30日 20点12分 9
level 0
这个程序是什么意思?????不明白!!!!
2009年01月20日 02点01分 10
level 4
这程序可以改一下,通过windows的消息机制将其改为U盘小偷
2009年01月23日 05点01分 11
level 1
e~~~~~
这个也要`````````,不就是foreach一下目录再来个Process类就行了嘛
以前为了偷老师的ppt,做过一个,但最好笑的是设计时设成了自动启动、被防kill,且无过滤文件格式(当初想要偷就偷全部的,反正两节课,copy一个U盘不算什么),结果几天下来连其它同学U盘上的A片也拿了过来
2009年01月24日 09点01分 12
level 6
..
2009年02月07日 09点02分 14
level 1
我有一个vb2005编的
2009年04月04日 07点04分 16
level 1
o
2009年05月12日 13点05分 17
level 1
我也要 代码!!!
QQ 365436094
2009年05月14日 12点05分 18
level 0
我也要  研究研究 qq 635325076
2009年06月20日 15点06分 19
level 0
我也想要一个,学习一下409537647  非常感谢
2009年07月09日 09点07分 20
level 0
我也想要来一个学习学习 qq121033411
2009年07月10日 03点07分 21
level 6
我直接用的windows消息
2009年08月29日 02点08分 23
1 2 尾页