Click here to Skip to main content
15,914,500 members
Home / Discussions / C#
   

C#

 
AnswerRe: ADO.Net Transaction Pin
PIEBALDconsult10-Dec-10 2:41
mvePIEBALDconsult10-Dec-10 2:41 
QuestionCan't see methods in DLL... why? Pin
michaelsd9-Dec-10 12:10
michaelsd9-Dec-10 12:10 
AnswerRe: Can't see methods in DLL... why? Pin
GlobX9-Dec-10 12:46
GlobX9-Dec-10 12:46 
AnswerRe: Can't see methods in DLL... why? Pin
Luc Pattyn9-Dec-10 13:21
sitebuilderLuc Pattyn9-Dec-10 13:21 
QuestionVisual Studio 2010 Web performance test password encryption question Pin
jboyd1119-Dec-10 10:56
jboyd1119-Dec-10 10:56 
QuestionFTP Connection Pin
MumbleB9-Dec-10 7:43
MumbleB9-Dec-10 7:43 
AnswerRe: FTP Connection Pin
Luc Pattyn9-Dec-10 8:02
sitebuilderLuc Pattyn9-Dec-10 8:02 
GeneralRe: FTP Connection Pin
Sunil G 310-Dec-10 2:04
Sunil G 310-Dec-10 2:04 
Hi,

You can use below API's...



Private Declare Function InternetCloseHandle Lib "wininet.dll" (ByVal hInet As Long) As Integer
Private Declare Function InternetConnect Lib "wininet.dll" Alias "InternetConnectA" (ByVal hInternetSession As Long, ByVal sServerName As String, ByVal nServerPort As Integer, ByVal sUserName As String, ByVal sPassword As String, ByVal lService As Long, ByVal lFlags As Long, ByVal lContext As Long) As Long
Private Declare Function InternetOpen Lib "wininet.dll" Alias "InternetOpenA" (ByVal sAgent As String, ByVal lAccessType As Long, ByVal sProxyName As String, ByVal sProxyBypass As String, ByVal lFlags As Long) As Long
Private Declare Function FtpSetCurrentDirectory Lib "wininet.dll" Alias "FtpSetCurrentDirectoryA" (ByVal hFtpSession As Long, ByVal lpszDirectory As String) As Boolean
Private Declare Function FtpGetCurrentDirectory Lib "wininet.dll" Alias "FtpGetCurrentDirectoryA" (ByVal hFtpSession As Long, ByVal lpszCurrentDirectory As String, lpdwCurrentDirectory As Long) As Long
Private Declare Function FtpCreateDirectory Lib "wininet.dll" Alias "FtpCreateDirectoryA" (ByVal hFtpSession As Long, ByVal lpszDirectory As String) As Boolean
Private Declare Function FtpRemoveDirectory Lib "wininet.dll" Alias "FtpRemoveDirectoryA" (ByVal hFtpSession As Long, ByVal lpszDirectory As String) As Boolean
Private Declare Function FtpDeleteFile Lib "wininet.dll" Alias "FtpDeleteFileA" (ByVal hFtpSession As Long, ByVal lpszFileName As String) As Boolean
Private Declare Function FtpRenameFile Lib "wininet.dll" Alias "FtpRenameFileA" (ByVal hFtpSession As Long, ByVal lpszExisting As String, ByVal lpszNew As String) As Boolean
Private Declare Function FtpGetFile Lib "wininet.dll" Alias "FtpGetFileA" (ByVal hConnect As Long, ByVal lpszRemoteFile As String, ByVal lpszNewFile As String, ByVal fFailIfExists As Long, ByVal dwFlagsAndAttributes As Long, ByVal dwFlags As Long, ByRef dwContext As Long) As Boolean
Private Declare Function FtpPutFile Lib "wininet.dll" Alias "FtpPutFileA" (ByVal hConnect As Long, ByVal lpszLocalFile As String, ByVal lpszNewRemoteFile As String, ByVal dwFlags As Long, ByVal dwContext As Long) As Boolean


Regards,
SunilG.
GeneralRe: FTP Connection Pin
Luc Pattyn10-Dec-10 2:20
sitebuilderLuc Pattyn10-Dec-10 2:20 
GeneralRe: FTP Connection Pin
Pete O'Hanlon10-Dec-10 3:05
mvePete O'Hanlon10-Dec-10 3:05 
AnswerRe: FTP Connection Pin
Luc Pattyn10-Dec-10 3:14
sitebuilderLuc Pattyn10-Dec-10 3:14 
GeneralRe: FTP Connection Pin
Pete O'Hanlon10-Dec-10 3:56
mvePete O'Hanlon10-Dec-10 3:56 
GeneralRe: FTP Connection Pin
Luc Pattyn10-Dec-10 4:13
sitebuilderLuc Pattyn10-Dec-10 4:13 
GeneralRe: FTP Connection Pin
Luc Pattyn10-Dec-10 4:34
sitebuilderLuc Pattyn10-Dec-10 4:34 
GeneralRe: FTP Connection Pin
Sunil G 317-Dec-10 1:47
Sunil G 317-Dec-10 1:47 
QuestionClearing the Y Labels correctly Pin
Rafone9-Dec-10 5:26
Rafone9-Dec-10 5:26 
QuestionWebClient DownliadFile Error Pin
yu-jian9-Dec-10 4:44
yu-jian9-Dec-10 4:44 
AnswerRe: WebClient DownliadFile Error Pin
Luc Pattyn9-Dec-10 5:12
sitebuilderLuc Pattyn9-Dec-10 5:12 
QuestionOpen Cash Drawer Pin
Jassim Rahma9-Dec-10 3:03
Jassim Rahma9-Dec-10 3:03 
AnswerRe: Open Cash Drawer Pin
Hiren solanki9-Dec-10 3:12
Hiren solanki9-Dec-10 3:12 
AnswerRe: Open Cash Drawer Pin
Luc Pattyn9-Dec-10 3:52
sitebuilderLuc Pattyn9-Dec-10 3:52 
AnswerRe: Open Cash Drawer Pin
T M Gray9-Dec-10 9:49
T M Gray9-Dec-10 9:49 
QuestionHow to make my C# objects self explanatory Pin
maheshk_blr9-Dec-10 0:29
maheshk_blr9-Dec-10 0:29 
AnswerRe: How to make my C# objects self explanatory Pin
GlobX9-Dec-10 11:33
GlobX9-Dec-10 11:33 
QuestionGet correct driver name from "Device management" associated with a COM PORT. Pin
AlexB478-Dec-10 22:01
AlexB478-Dec-10 22:01 

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.