Sort of.
I'm using Visual Studio 2005 and coding in Visual c++. The problem I'm having is linking my browse button to a text box. I'd like a file selected in the browse window to display in a textbox next to it (the file's path, if you will). If anyone could help me out here, it'd be much appreciated.
Thanks in advanced.
It depends on how you opened the file. If you have a string variable somewhere, then just use that. If you used the CommonDialog object, there's a LPSTR field in the OFNSTRUCT that you can read. Otherwise you'll have to post more information.
I will try as i am a new here i heve to get some knowledge ...
How did you open the file, anyway?
I don't get it.
Xav meant a file scanner. In order to read text out of a file, you need to read it using a text scanner from the standard libraries provided![]()
If you aren't educated on something, then don't say you have to do it a certain way...
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks