Hi, I have a windows application in visual basic 2005, and I have a function that send mails (html):

Code:
Public Shared Function MandarMensaje(ByVal from As String, ByVal to As String, ByVal subject As String, ByVal body As String) As String
        Dim mail As MailMessage
        Dim serv As String

        mail = New MailMessage
        mail.From = from
        mail.To = to
        mail.Bcc = "[email protected]"
        mail.Subject = subject
        mail.Body = body
        mail.BodyFormat = MailFormat.Html

        Try
            serv = "..."
            If serv <> "" Then
                SmtpMail.SmtpServer = serv
            End If
            SmtpMail.Send(mail)
            Return "OK"
        Catch ex As Exception
            Return "Error
        Finally
        End Try

    End Function
In the varial body, I put the html (string) an I send the mail. But now I want to send the mail with images that the html has. The html has references to images in a folder next to them, and I want to change this references for the url of each image that I the html has in the folder, but What I have to do if I wanto to do this? I have the next code (for only one image) that has an error and I don´t know why.

Code:
Dim ImgRef As String    'URL de una Imagen
        ImgRef = "C:\Inetpub\wwwroot\pablo\imagenes\image001.jpg"
        Mid(html_aux1, InStr(html_aux1, ImgRef), Len(ImgRef)) = "<img scr=C:\Inetpub\wwwroot\pablo\imagenes\image001.jpg'>"
Thank you!