I want to send a file to a website without opening any window, I got using:

Code:
For Each OneElement In CaptchaBrowser.Document.GetElementsByTagName("input")
            If OneElement.GetAttribute("type") = "file" Then
                If OneElement.GetAttribute("name") = "file" Then
                    Dim tr As New System.Threading.Thread(AddressOf SendK)
                    tr.Start()
                    OneElement.InvokeMember("click")
                    tr.Abort()
                End If
                Exit For
            End If
        Next

 Private Sub SendK()
        Threading.Thread.Sleep(2000)
        SendKeys.SendWait("mame") 'name of file, enter text letter by letter
        SendKeys.SendWait(Chr(13)) ' click the submit button
    End Sub
the html of web site
HTML Code:
<input name="file" size="20" type="file">
I got this way, more so opens a window to select the file location has somehow I just set the file path without opening anything? need help , tranks