Who is Participating?

This is just a direct translation of the code your provided. It depends on the same Imports (like System.IO) and supporting objects (there a MyConn variable in the original who's source is not explained):

Dim MyStream As New FileStream("C:\My.doc",FileMode.Open)Dim DocLen As Integer = New FileInfo("C:\\My.doc").LengthDim MyBlob(DocLen) As ByteDim n As Integer = MyStream.Read(MyBlob,0,DocLen)Dim MySql As Sting = "INSERT INTO MyBlobTable (MyId,MyBlob) VALUES (1,@MyBlob)"Dim sql As New SqlCommand(MySql,MyConn)Dim sqlp As New SqlParameter("@MyBlob",SqlDbType.Image)sqlp.Value = MyBlobsql.Parameters.Add(sqlp)