Mohamad.Koopaei
Member
- 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.
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.