Click here to Skip to main content
15,861,125 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: problem with mid function. Pin
Rajkumar R5-Mar-08 19:50
Rajkumar R5-Mar-08 19:50 
GeneralHMENU Pin
john56325-Mar-08 19:28
john56325-Mar-08 19:28 
QuestionPeople Tracking system? Pin
$uresh $hanmugam5-Mar-08 19:24
$uresh $hanmugam5-Mar-08 19:24 
AnswerRe: People Tracking system? Pin
uusheikh5-Mar-08 19:46
uusheikh5-Mar-08 19:46 
QuestionHow to enable your app to create crash dumps ? Pin
cagespear5-Mar-08 19:07
cagespear5-Mar-08 19:07 
AnswerRe: How to enable your app to create crash dumps ? Pin
Roger Stoltz5-Mar-08 21:07
Roger Stoltz5-Mar-08 21:07 
GeneralRe: How to enable your app to create crash dumps ? Pin
cagespear5-Mar-08 21:11
cagespear5-Mar-08 21:11 
GeneralGet properties of remote file(FTP) vc++ Pin
chetanjoshi95-Mar-08 18:21
chetanjoshi95-Mar-08 18:21 
I am working on FTP wizard

I written a code to get the properties of selected file for local drive as

HTREEITEM hlocalselitem = m_LocaleTreeCtrl.GetSelectedItem();
{
CString selectedPath =GetLocalTreePath (hlocalselitem);

HWND hwnd = GetSafeHwnd();

SHELLEXECUTEINFO ShExecInfo = {0};

ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
ShExecInfo.fMask = SEE_MASK_INVOKEIDLIST ;
ShExecInfo.hwnd = hwnd;
ShExecInfo.lpVerb = "properties";
ShExecInfo.lpFile = selectedPath;
ShExecInfo.lpParameters = "";
ShExecInfo.lpDirectory = NULL;
ShExecInfo.nShow = SW_SHOW;
ShExecInfo.hInstApp = NULL;
ShellExecuteEx(&ShExecInfo);
}

which works fine.

But when I used it for remote file i.e. selectedpath is different
as i.e. using '/' but it is giving me error as please check the path
I also tried for complete URL then it gives invalid parameter for
ShExecInfo.lpFile = selectedPath;
QuestionRe: Get properties of remote file(FTP) vc++ Pin
Rajkumar R5-Mar-08 18:52
Rajkumar R5-Mar-08 18:52 
GeneralRe: Get properties of remote file(FTP) vc++______path given Pin
chetanjoshi95-Mar-08 19:27
chetanjoshi95-Mar-08 19:27 
GeneralOpen CSV File ,error Pin
TaoteSea5-Mar-08 17:46
TaoteSea5-Mar-08 17:46 
GeneralIntelliSense:"No additional information available" Pin
Le@rner5-Mar-08 17:46
Le@rner5-Mar-08 17:46 
GeneralRe: IntelliSense:"No additional information available" Pin
cagespear5-Mar-08 19:22
cagespear5-Mar-08 19:22 
Questionhow to declare a buffer? Pin
gentleguy5-Mar-08 17:42
gentleguy5-Mar-08 17:42 
AnswerRe: how to declare a buffer? Pin
TooShy2Talk5-Mar-08 21:57
TooShy2Talk5-Mar-08 21:57 
GeneralProblem with Release mode Pin
ritz12345-Mar-08 17:30
ritz12345-Mar-08 17:30 
QuestionRe: Problem with Release mode Pin
Maxwell Chen5-Mar-08 17:37
Maxwell Chen5-Mar-08 17:37 
GeneralRe: Problem with Release mode Pin
ritz12345-Mar-08 17:48
ritz12345-Mar-08 17:48 
GeneralRe: Problem with Release mode Pin
Maxwell Chen5-Mar-08 18:43
Maxwell Chen5-Mar-08 18:43 
GeneralRe: Problem with Release mode Pin
cagespear5-Mar-08 19:10
cagespear5-Mar-08 19:10 
GeneralRe: Problem with Release mode Pin
Maxwell Chen5-Mar-08 19:16
Maxwell Chen5-Mar-08 19:16 
JokeRe: Problem with Release mode Pin
Rajesh R Subramanian5-Mar-08 19:21
professionalRajesh R Subramanian5-Mar-08 19:21 
JokeRe: Problem with Release mode Pin
Maxwell Chen5-Mar-08 21:25
Maxwell Chen5-Mar-08 21:25 
GeneralRe: Problem with Release mode Pin
cagespear5-Mar-08 21:05
cagespear5-Mar-08 21:05 
GeneralRe: Problem with Release mode Pin
Roger Stoltz5-Mar-08 20:53
Roger Stoltz5-Mar-08 20:53 

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.