Click here to Skip to main content
15,900,907 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionPlease Help! Open a menu programmatically? Pin
Jim Steele24-May-00 5:25
Jim Steele24-May-00 5:25 
AnswerRe: Please Help! Open a menu programmatically? Pin
Dmitriy25-May-00 9:33
Dmitriy25-May-00 9:33 
AnswerRe: Please Help! Open a menu programmatically? Pin
kasreng26-May-00 7:04
kasreng26-May-00 7:04 
GeneralCListCtrl Bug Pin
Ingo Eberhardt24-May-00 0:31
sussIngo Eberhardt24-May-00 0:31 
GeneralHttpSendRquest and HttpSendRequentex Pin
zlyang23-May-00 23:50
zlyang23-May-00 23:50 
GeneralFTP Client Pin
beretta23-May-00 13:24
beretta23-May-00 13:24 
GeneralRe: FTP Client Pin
imsniper23-May-00 21:36
imsniper23-May-00 21:36 
GeneralRe: FTP Client Pin
beretta25-May-00 6:05
beretta25-May-00 6:05 
hi, below was my sample coding for my application

//this is my InetSession
m_pInetSession = new CInternetSession(
NULL, 1,
PRE_CONFIG_INTERNET_ACCESS );

// If the CInternetSession object didn't
// allocate, bail out.
if(m_pInetSession == NULL ){
return( 0 );
}
//ftp connection
m_pFtpConnection = m_pInetSession->GetFtpConnection(
"127.0.0.1", "", "");

what i did here is i m running an ftp server on my local host. The ftp server is a shareware program that will enable any ftp client connect to u local host without networking environment. i did try to connect to my local host by using FTP explorer shareware. its works fine. i just want to prove that my ftp server shareware is working fine. Next, i try to compile n run my application, the results were, the first was ok, but when i try to run on the second time its failed. i also try to run my application on a network environment, it was failed too !

I did refer to the MSDN FTPTREE sample program, its works fine. i try to copy out some part of the code to my application, but it was fail!

I totally have no idea what to do next, please HELP !!!

Thanks !

GeneralRe: FTP Client Pin
Buck25-May-00 12:30
Buck25-May-00 12:30 
GeneralRe: FTP Client Pin
beretta30-May-00 4:50
beretta30-May-00 4:50 
GeneralRe: FTP Client Pin
beretta30-May-00 4:50
beretta30-May-00 4:50 
GeneralRe: FTP Client Pin
beretta30-May-00 4:51
beretta30-May-00 4:51 
GeneralCRichEditCtrl and Print Preview Pin
Tim Brown23-May-00 4:46
Tim Brown23-May-00 4:46 
GeneralAdding Bars, Buttons, Menu to the IE Pin
sql23-May-00 3:14
sql23-May-00 3:14 
GeneralRe: Adding Bars, Buttons, Menu to the IE Pin
Masaaki Onishi23-May-00 5:12
Masaaki Onishi23-May-00 5:12 
General(Hopefully) a simple question on classes and inheritance. Pin
Erich Ruth22-May-00 11:54
Erich Ruth22-May-00 11:54 
GeneralRe: (Hopefully) a simple question on classes and inheritance. Pin
Masaaki Onishi22-May-00 13:23
Masaaki Onishi22-May-00 13:23 
GeneralRe: (Hopefully) a simple question on classes and inheritance. Pin
James Curran26-May-00 8:27
James Curran26-May-00 8:27 
GeneralRe: I already noticed this. Pin
Masaaki Onishi26-May-00 11:51
Masaaki Onishi26-May-00 11:51 
GeneralRe: (Hopefully) a simple question on classes and inheritance. Pin
Chris Meech23-May-00 7:04
Chris Meech23-May-00 7:04 
GeneralRe: (Hopefully) a simple question on classes and inheritance. Pin
Member 432125-May-00 11:28
Member 432125-May-00 11:28 
GeneralUse a Text file to open my doc in a CRichEditView Pin
Olivier Cheneson22-May-00 7:11
sussOlivier Cheneson22-May-00 7:11 
QuestionNew browser as child window of existing one? Pin
mahesh22-May-00 2:40
mahesh22-May-00 2:40 
AnswerRe: New browser as child window of existing one? Pin
Erik Thompson22-May-00 12:12
sitebuilderErik Thompson22-May-00 12:12 
GeneralRe: New browser as child window of existing one? Pin
mahesh23-May-00 2:36
mahesh23-May-00 2:36 

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.