Hi all:
I'm running Win 7 and VS 2005.
I'm trying upload an FTP file and I keep getting the error, saying I need a filename.
Here is my code:
I have stepped through the code, searched the MSDN Online DB, and cannot figure out why I'm getting the error, unless it's a Win 7 issue.
I've done this with an old VB6 dll I made, and it works.
Ron Repp
If gray hair is a sign of wisdom, then I'm a genius.
My newest novel: Wooden Warriors
I'm running Win 7 and VS 2005.
I'm trying upload an FTP file and I keep getting the error, saying I need a filename.
Here is my code:
Code:
Public Sub StartUpload( _
ByVal FileName As String, ByVal FTPn As String, ByVal UserN As String, _
ByVal PW As String, ByVal PortNum As Short)
My.Computer.Network.UploadFile(FileName, FTPn, UserN, PW)
End Sub
I have stepped through the code, searched the MSDN Online DB, and cannot figure out why I'm getting the error, unless it's a Win 7 issue.
I've done this with an old VB6 dll I made, and it works.
Ron Repp
If gray hair is a sign of wisdom, then I'm a genius.
My newest novel: Wooden Warriors