Click here to Skip to main content
15,884,388 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSave and retrive data from Database Pin
Rupesh Kumar Swami5-Mar-08 20:45
Rupesh Kumar Swami5-Mar-08 20:45 
Generalreturning value from catch() Pin
rp_suman5-Mar-08 20:41
rp_suman5-Mar-08 20:41 
GeneralRe: returning value from catch() Pin
Roger Stoltz5-Mar-08 21:01
Roger Stoltz5-Mar-08 21:01 
QuestionHow simulate ctrl+alt+delete in vista Pin
vinorathna5-Mar-08 20:24
vinorathna5-Mar-08 20:24 
GeneralLNK2020: unresolved token, with /clr Pin
Mary Chennai5-Mar-08 20:03
Mary Chennai5-Mar-08 20:03 
GeneralRe: LNK2020: unresolved token, with /clr Pin
CPallini5-Mar-08 22:40
mveCPallini5-Mar-08 22:40 
GeneralRe: LNK2020: unresolved token, with /clr Pin
Mark Salsbery6-Mar-08 5:44
Mark Salsbery6-Mar-08 5:44 
GeneralGet remote file properties (FTP) Pin
chetanjoshi95-Mar-08 19:52
chetanjoshi95-Mar-08 19:52 
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;

path is : "ftp://www.ganitra.com//BannerTestPlan.jpg"
GeneralRe: Get remote file properties (FTP) Pin
JudyL_MD6-Mar-08 2:08
JudyL_MD6-Mar-08 2:08 
Generalproblem with mid function. Pin
savitri5-Mar-08 19:42
savitri5-Mar-08 19:42 
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 
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 

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.