Ok Well, in vb6 it's completely easy.
For an example, im trying to convert this to vb.net but im kinda struggling.
For Example, i don't know what the new get and put statements are in vb.net.
Dim aS As String
Dim aF As String
Open App.Path & "\s.exe" For Binary #1
aS = Space(LOF(1))
Get #1, , aS
Close #1
And in my view of conversion is
Dim aS As String
Dim aF As String
FileOpen(1, "\s.exe", OpenMode.Binary, OpenAccess.ReadWrite)
aS = Space(LOF(1))
FileGet(1, aS)
FileClose(1)
NOTE: THen of course i forgot to add the put statements so the bytes and data would be able to be written into the file. I forgot to add it, and too lazy to add it -.-'. So if anyone knows how i can use the "put" statements in vb.net along with "get" statements.
So if anyone have any information or ideas please share.