level 1
DeathMXLog
楼主
我按照贴吧里写的
Dim resources As System.Resources.ResourceManager = My.Resources.ResourceManager
Dim b() As Byte = resources.GetObject("bg")
Dim s As IO.Stream = System.IO.File.Create(My.Application.Info.DirectoryPath & "\TimeMachine.jpg")
s.Write(b, 0, b.Length)
s.Close()
这样写没有问题。。。但是运行的时候要报错。。。求解


2012年11月08日 00点11分
1
Dim resources As System.Resources.ResourceManager = My.Resources.ResourceManager
Dim b() As Byte = resources.GetObject("bg")
Dim s As IO.Stream = System.IO.File.Create(My.Application.Info.DirectoryPath & "\TimeMachine.jpg")
s.Write(b, 0, b.Length)
s.Close()
这样写没有问题。。。但是运行的时候要报错。。。求解



