Click here to Skip to main content
16,007,277 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to compare data from 2 different ODBC sources and output the results? Pin
pmarfleet7-Feb-08 2:49
pmarfleet7-Feb-08 2:49 
QuestionWindow application in hindi Pin
Ravi_216-Feb-08 22:50
Ravi_216-Feb-08 22:50 
GeneralRe: Window application in hindi Pin
Matthew Faithfull7-Feb-08 0:07
Matthew Faithfull7-Feb-08 0:07 
Question[Message Deleted] Pin
GDMFSOB6-Feb-08 22:08
GDMFSOB6-Feb-08 22:08 
GeneralRe: Using Windows Forms Controls in Internet Explorer .net 2.0 Pin
Christian Graus6-Feb-08 22:32
protectorChristian Graus6-Feb-08 22:32 
GeneralRe: Using Windows Forms Controls in Internet Explorer .net 2.0 Pin
GDMFSOB6-Feb-08 22:34
GDMFSOB6-Feb-08 22:34 
JokeRe: Using Windows Forms Controls in Internet Explorer .net 2.0 Pin
Guffa7-Feb-08 2:41
Guffa7-Feb-08 2:41 
GeneralFile Transferring Pin
Michael1016-Feb-08 13:16
Michael1016-Feb-08 13:16 
Hi people,

Does anyone know how to transfer files from one computer to another (not on the same network). I understand that in VB.NET you have the FTP libraries incorporated in the back end, but I'm not entirely sure on how to use them. I've tried this but it doesn't work, yet!

Dim uri As New Uri("file://C:\Documents and Settings\mhomsey\My Documents\Visual Studio 2005\Projects\CareerOneUploader\CareerOneUploader\bin\Debug\GENERATED_XML\Careersmehrmyc20080207.xml")
Dim reader As TextReader = File.OpenText(xmlFileName)
Dim xml As String = reader.ReadToEnd()

If (uri.Scheme = uri.UriSchemeFile) Then
Dim request As FileWebRequest = FileWebRequest.Create(uri)
Dim response As FileWebRequest = request.GetResponse()
Dim reader As New StreamReader(response.GetResponse())
Dim tmp As String = reader.ReadToEnd()
response.close()
End If

The code isn't finished but I just want to be able to send a file from this computer, to another remote computer. Does anyone have the same code?

Thanks very much in advance and I appreciate your help.

Michael Smile | :)
GeneralRe: File Transferring Pin
Christian Graus6-Feb-08 22:05
protectorChristian Graus6-Feb-08 22:05 
GeneralVolume control for vb6/vb.net Pin
Digital4046-Feb-08 11:43
Digital4046-Feb-08 11:43 
GeneralRe: Volume control for vb6/vb.net Pin
Christian Graus6-Feb-08 22:04
protectorChristian Graus6-Feb-08 22:04 
GeneralRe: Volume control for vb6/vb.net Pin
Digital4049-Feb-08 18:40
Digital4049-Feb-08 18:40 
GeneralRe: Volume control for vb6/vb.net Pin
Digital40410-Feb-08 16:00
Digital40410-Feb-08 16:00 
Generalprinting strings Pin
Smithers-Jones6-Feb-08 5:59
Smithers-Jones6-Feb-08 5:59 
AnswerRe: printing strings Pin
Scubapro6-Feb-08 8:06
Scubapro6-Feb-08 8:06 
GeneralRe: printing strings Pin
Smithers-Jones6-Feb-08 9:01
Smithers-Jones6-Feb-08 9:01 
GeneralRe: printing strings Pin
Richard Blythe6-Feb-08 11:54
Richard Blythe6-Feb-08 11:54 
GeneralRe: printing strings Pin
Smithers-Jones6-Feb-08 23:36
Smithers-Jones6-Feb-08 23:36 
GeneralRe: printing strings [modified] Pin
Richard Blythe7-Feb-08 9:45
Richard Blythe7-Feb-08 9:45 
GeneralRe: printing strings Pin
Smithers-Jones13-Feb-08 9:36
Smithers-Jones13-Feb-08 9:36 
GeneralRe: printing strings Pin
Richard Blythe13-Feb-08 12:05
Richard Blythe13-Feb-08 12:05 
GeneralEncrypting files Pin
duo!@#6-Feb-08 4:05
duo!@#6-Feb-08 4:05 
GeneralRe: Encrypting files Pin
Justin Perez6-Feb-08 4:17
Justin Perez6-Feb-08 4:17 
GeneralRe: Encrypting files Pin
duo!@#6-Feb-08 4:49
duo!@#6-Feb-08 4:49 
GeneralRe: Encrypting files PinPopular
Justin Perez6-Feb-08 5:43
Justin Perez6-Feb-08 5:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.