The way you show your m_filename is not an absolute path, but a relative path.
When you run from within VS (Ctrl_F5) the default working directory is the same folder as your .sln/.vcproj file. Let's say it's "MyProg", thefore you would attempt to open the file in VS, the path would be
MyProg\some absolute file path\name
However, if you run it from the Windows Explorer (double click on it) the default directory would be the location of the .exe. In this case, it might be
MyProg\debug\some absolute file path\name
The CStdioFile.Open will not create directories if the don't exist, and that would cause it to fail.
Perhaps if you show the actual contents of your m_filename it may be helpful.
Thanks for your help, but I'm always looking into the m_filename and I'm sure that was absolute. Something newly found today that when I call m_file.Open() I got an warnning message:Warning: could not get volume information 'd:\Documents and Settings\mmn7xxl\My Documents\My Project\Program\WareHouseReport\"d:\' . Can you figure this out for me?
Hello and good day!
I want to implement a virtual keyboard for my project. Although the Windows XP already provides one for use, I need the buttons and font to be bigger in size. I'm thinking of currently creating my own virtual keyboard but I want to make sure first if there would be other ways available. Should I create one or are there any other easier methods that I can use? If you say that I should create one, giving me pointers on what is needed would be a great help (currently reading SendInput function). Please note that what I'm gonna implement is a japanese keyboard and buying software is not an option.
Thank you for the help and time!
i have created adialog based application.but i just found out recently that it is hard to link a database to adialog("such as displaying results in an edit box ")
Is it really that difficult??
and can some one tell me how to do it???
please i really need it ("its for my project and i will reach my time limit soon ")
please >>>any help will be appreciated.
thank u in advance