| | |
API Help
Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: Jul 2005
Posts: 67
Reputation:
Solved Threads: 1
I'm trying to use input from a text edit box to delete a file. The input from the textbox will be the file location and the delete button will use DeleteFile() to delete the file.
http://img436.imageshack.us/img436/5...leteboxvn0.png
Do you know what I mean?
http://img436.imageshack.us/img436/5...leteboxvn0.png
Do you know what I mean?
•
•
Join Date: Jul 2005
Posts: 67
Reputation:
Solved Threads: 1
•
•
•
•
Yes. We understand what you mean. But where do you have the problem?
DeleteFile(FileName)
In FileName I want the text that the user input to be used. Just like I would use cin.
Use GetWindowText to copy the text in the edit box, and call DeleteFile for that text.
バルサミコ酢やっぱいらへんで
![]() |
Similar Threads
- Creating A Table With Win32 Api (C++)
- C++ WinSNMP API: (C++)
- Google API (Search Engine Optimization)
- java uses or overrides a deprecated API?? (Java)
- AutoCAD API and VB.NET (VB.NET)
- Windows Api Tutorial (C++)
Other Threads in the C++ Forum
- Previous Thread: localtime_s, C++ 2005 Express
- Next Thread: What is wrong with this code?
| Thread Tools | Search this Thread |
api array arrays based beginner binary c++ c/c++ calculator char char* class classes code compile compiler console conversion count delete deploy desktop directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory news numbertoword output parameter pointer problem program programming project python random read recursion recursive reference return rpg sorting string strings struct temperature template templates test text text-file tree unix url variable vector video visual visualstudio win32 windows winsock wordfrequency wxwidgets






