call file in computers net
-
How can I in my code open a file that exist in the net???? It is not enough to call for example: f:/*.*:confused: miri
-
How can I in my code open a file that exist in the net???? It is not enough to call for example: f:/*.*:confused: miri
OK, here is the answer. To open the file over the mapped network drive, or any other drive You can use for example functions/classes like: CreateFile CFile (class) fopen If You want to list files, take a closer look at: FindFirstFile FindNextFile FindClose
-
OK, here is the answer. To open the file over the mapped network drive, or any other drive You can use for example functions/classes like: CreateFile CFile (class) fopen If You want to list files, take a closer look at: FindFirstFile FindNextFile FindClose
-
Thank you very much !!!;) ;) I'm workink in c++. can you write me how I do it exactly if I want for example to open the file : f:/data/test.data :confused:
//to open file for write: CFile file; CFileException e; if (!file.Open(strPathName, CFile::modeCreate | CFile::modeWrite , &e)) {} Search in help for more samples. Simply enter CFile/CreateFile in search tab, and look for cpp files. There will be sample for sure.