A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
Hello,
as far as I know CFileDialog does not download files from web servers.
Maybe this code does:
TCHAR lFilter[] = _T("All Files (*.*)\0*.*\0");
TCHAR lFile[0x10000] = _T("");
OPENFILENAME lOFN;
memset(&lOFN, 0, sizeof(lOFN));
lOFN.lStructSize = sizeof(lOFN);
lOFN.hwndOwner = this->GetSafeHwnd();
lOFN.lpstrFilter = lFilter;
lOFN.lpstrFile = lFile;
lOFN.nMaxFile = sizeof(lFile) / sizeof(lFile[0]);
lOFN.Flags = OFN_EXPLORER | OFN_ENABLESIZING;
if (::GetOpenFileName(&lOFN) == TRUE) {
AfxMessageBox(lFile);
}
Regards, Guido