open files over the net????
-
My app uses an old style MFC File open dialog box. I noticed that in Microsoft Word - File Open dialog box, if you click the drop down box for the "Look in" field at the top, there is an option at the bottom that says FTP Locations. One can use this option to open files from a remote location via FTP directly into MS Word. I need this ability in my app but I can't figure out how. I have looked through the MFC documentation and I can't find squat! Any help appreciated. :) George W Software Developer www.zsystems.ca
-
My app uses an old style MFC File open dialog box. I noticed that in Microsoft Word - File Open dialog box, if you click the drop down box for the "Look in" field at the top, there is an option at the bottom that says FTP Locations. One can use this option to open files from a remote location via FTP directly into MS Word. I need this ability in my app but I can't figure out how. I have looked through the MFC documentation and I can't find squat! Any help appreciated. :) George W Software Developer www.zsystems.ca
It seems you have to implement it yourself: First you should expand the capabilities of the Open File dialog. This is a good starting point: http://www.codeproject.com/dialog/bitmappreviewdialog.asp[^] Then implement a Combobox or TreeCtrl on your fileopen dialog and feed them with data e.g. by using http://www.codeproject.com/internet/ftpwanderer.asp [^] or MFC's ftp classes. When the user selects some file, download to disk and open it. Peter Molnar