i have some problem
dim
Dim sourceFile As FileStream = New FileStream(FILENAME, FileMode.Open, FileAccess.Read) Dim FileSize As Long
FileSize = sourceFile.Length
Dim getContent As Byte()getContent =
New BinaryReader(sourceFile).ReadBytes(FileSize)sourceFile.Close()
rng = getContent----> my problem here
EntireFile = rng.Text
how to copy binary data to word file
plz help
Replies
Know the answer? Post it — somebody with the same question will find it here.