I hate to be the one to dig up an old post but i have a question .

where you see /badger.exe


Code:
Private Sub Sck_Connect()

    Sck.SendData "HEAD /badger.exe HTTP/1.0" & vbNewLine & _
                        "Host: www.woof.com" & vbNewLine & _
                        "User-Agent: blah blah..." & vbNewLine & vbNewLine
    End Sub
I'm trying to get it to accept a new file from a TextBox.
It works fine if do it like this:

Code:
Private Sub Sck_Connect()
option1 = "/something/somethingelse/"
option2 = "file.exe"
    Sck.SendData "HEAD " & option1 & Option2 & " HTTP/1.0" & vbNewLine & _
                        "Host: www.woof.com" & vbNewLine & _
                        "User-Agent: blah blah..." & vbNewLine & vbNewLine
    End Sub
But i Can't get it to accept those values outside the Sub routine.
Any help on this at all would greatly appreciated

Thanks in Advance