'项目-添加-新建项-资源文件-添加资源-添加现有文件
Imports System.IO
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim b() As Byte
b = My.Resources.Resource1.db1
Dim fs As New IO.FileStream("C:\1.mdb", IO.FileMode.OpenOrCreate)
fs.Write(b, 0, b.Length)
fs.Close()
End Sub
End Class
引用通告地址 (0):
http://www.cnng.net/blog/trackback.asp?tbID=95
http://www.cnng.net/blog/trackback.asp?tbID=95&CP=GBK
http://www.cnng.net/blog/trackback.asp?tbID=95
http://www.cnng.net/blog/trackback.asp?tbID=95&CP=GBK