Click here to Skip to main content
16,010,673 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Prevent exe from being copied and run on another pc Pin
Paul Conrad27-Nov-08 5:11
professionalPaul Conrad27-Nov-08 5:11 
GeneralRe: Prevent exe from being copied and run on another pc Pin
Luc Pattyn27-Nov-08 5:47
sitebuilderLuc Pattyn27-Nov-08 5:47 
GeneralRe: Prevent exe from being copied and run on another pc Pin
Mycroft Holmes27-Nov-08 21:33
professionalMycroft Holmes27-Nov-08 21:33 
GeneralRe: Prevent exe from being copied and run on another pc Pin
Tom Deketelaere27-Nov-08 21:51
professionalTom Deketelaere27-Nov-08 21:51 
GeneralRe: Prevent exe from being copied and run on another pc Pin
Ashfield28-Nov-08 0:48
Ashfield28-Nov-08 0:48 
GeneralRe: Prevent exe from being copied and run on another pc Pin
Tom Deketelaere28-Nov-08 1:56
professionalTom Deketelaere28-Nov-08 1:56 
AnswerRe: Prevent exe from being copied and run on another pc Pin
Sarani Ravindran27-Nov-08 18:13
Sarani Ravindran27-Nov-08 18:13 
QuestionCopying to and from ftp Location [VB.Net] [modified] Pin
indian14327-Nov-08 1:41
indian14327-Nov-08 1:41 
Hi,

I am using FtpXObjLib(Mabry Internet FTP/X COM Object) for copying a file from my computer to an FTPLocation. I am using below code for it

Dim objFTP As New FtpXObj

        objFTP.Blocking = True
        objFTP.Host = "ma****-1.corp.seic.com"
        objFTP.LogonName = "*******"
        objFTP.LogonPassword = "*******"
        
        objFTP.Directory = "C:\Aleem"

        objFTP.Connect()
        objFTP.GetFile("Sample.exe", "myfile.txt")


As I have not been given the FTP location where to copy right now, I am testing the code with my compter as
objFTP.Host = "ma****-1.corp.seic.com"

when I run the application, it is passing from the statement
objFTP.Connect()
so may be it is connecting using ftp, but giving exception at the statement
objFTP.GetFile("Sample.exe", "myfile.txt")
.

And the exception that I am getting is
'System.Runtime.InteropServices.COMException' occurred in SampleXceedZip.exe

Additional information: Invalid socket or not connected to remote.


Can anybody please help me to complete this task. In any way by giving a small code snippet or any links.

If any other .Net component is also available to do this task is also acceptable, if it not is not effecting the performance.

Thanks a Lot,
Aleem Mohammad.

Thanks & Regards,

Md. Abdul Aleem
NIIT technologies

modified on Thursday, November 27, 2008 8:13 AM

AnswerRe: Copying to and from ftp Location [VB.Net] Pin
EliottA27-Nov-08 2:36
EliottA27-Nov-08 2:36 
AnswerRe: Copying to and from ftp Location [VB.Net] Pin
Dave Kreskowiak27-Nov-08 4:54
mveDave Kreskowiak27-Nov-08 4:54 
GeneralRe: Copying to and from ftp Location [VB.Net] Pin
EliottA27-Nov-08 5:19
EliottA27-Nov-08 5:19 
Generalunable to copy the file from my location to FTP location Pin
indian14327-Nov-08 19:23
indian14327-Nov-08 19:23 
GeneralRe: unable to copy the file from my location to FTP location Pin
EliottA28-Nov-08 2:11
EliottA28-Nov-08 2:11 
GeneralRe: unable to copy the file from my location to FTP location Pin
Dave Kreskowiak28-Nov-08 5:16
mveDave Kreskowiak28-Nov-08 5:16 
QuestionXL VBA Question re Text Boxes Pin
Dalek Dave27-Nov-08 1:38
professionalDalek Dave27-Nov-08 1:38 
AnswerRe: XL VBA Question re Text Boxes Pin
Sarani Ravindran27-Nov-08 2:03
Sarani Ravindran27-Nov-08 2:03 
GeneralRe: XL VBA Question re Text Boxes Pin
Dalek Dave27-Nov-08 3:13
professionalDalek Dave27-Nov-08 3:13 
GeneralRe: XL VBA Question re Text Boxes Pin
Sarani Ravindran27-Nov-08 17:46
Sarani Ravindran27-Nov-08 17:46 
QuestionTo ust txt or database Pin
hendrikbez26-Nov-08 17:47
hendrikbez26-Nov-08 17:47 
AnswerRe: To ust txt or database Pin
Nanda_MR26-Nov-08 18:37
Nanda_MR26-Nov-08 18:37 
AnswerRe: To ust txt or database Pin
Christian Graus26-Nov-08 20:40
protectorChristian Graus26-Nov-08 20:40 
GeneralRe: To ust txt or database Pin
hendrikbez26-Nov-08 21:40
hendrikbez26-Nov-08 21:40 
GeneralRe: To ust txt or database Pin
Christian Graus26-Nov-08 21:44
protectorChristian Graus26-Nov-08 21:44 
GeneralRe: To ust txt or database Pin
hendrikbez26-Nov-08 21:52
hendrikbez26-Nov-08 21:52 
GeneralRe: To ust txt or database Pin
Tom Deketelaere26-Nov-08 23:04
professionalTom Deketelaere26-Nov-08 23:04 

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.