Question How to mix other binary files to my application.

Joined
Oct 18, 2012
Messages
12
Programming Experience
5-10
Any one knows how can i add a Binary file (EXE , JPG , and so on) to my application.?

When i used VB6 to create my projects, I could create another Binary file by the below code, I used Resource Editor to add binary file and then used the below code:

Dim variablename() as byte

FileD()=LoadResData("ID","CUSTOM")
Open "FilePath" As Binary #1
puts #1,,variablename()
Close#1

but in Vb.NET, I don't know how to do this.

Thanks a lot.
 
You can do this directly through Visual Studio... The only disclaimer I'd have for this is that you don't want your end result after compilation to be like 1GB in size.
 
Back
Top