some queries i not sure of. (urgent)
-
when i execute my programe, a dialogue box will appear with the title F32x_FileTransfer. at the Open File row, when i click Browse, another dialogue box will appear with the title Open. in this dialogue, i can select the file that i want to Open. after selecting the file, click the Open button to get the path name. the path name will be taken to the first dialogue box title F32x_FileTransfer.. at the first row, when i click on the Open File button, the file that i selected at dialogue box title Open will be opened.. that is the sequence that i want the program to do.. but somehow i couldnt get things right.. thanks for the attention to this message. your help will be very much appreciated.. not clear about the question ask, you may contact me at confusegirl85@hotmail.com -DarkangeL-
-
when i execute my programe, a dialogue box will appear with the title F32x_FileTransfer. at the Open File row, when i click Browse, another dialogue box will appear with the title Open. in this dialogue, i can select the file that i want to Open. after selecting the file, click the Open button to get the path name. the path name will be taken to the first dialogue box title F32x_FileTransfer.. at the first row, when i click on the Open File button, the file that i selected at dialogue box title Open will be opened.. that is the sequence that i want the program to do.. but somehow i couldnt get things right.. thanks for the attention to this message. your help will be very much appreciated.. not clear about the question ask, you may contact me at confusegirl85@hotmail.com -DarkangeL-
Your question is not clear so I will make some assumptions here.
chubbie wrote:
at the Open File row, when i click Browse, another dialogue box will appear with the title Open. in this dialogue, i can select the file that i want to Open.
I am assuming you are using the windows "Open File" dialog either through MFC's
CFileDialog
class or theGetOpenFileName()
API.chubbie wrote:
after selecting the file, click the Open button to get the path name. the path name will be taken to the first dialogue box title F32x_FileTransfer.. at the first row, when i click on the Open File button, the file that i selected at dialogue box title Open will be opened..
You can use
CFileDialog
'sGetPathName()
member function to get the full path to the file selected. If you are using theGetOpenFileName()
API the the file is in thelpstrFile
member of theOPENFILENAME
structure
You may be right I may be crazy -- Billy Joel -- Within you lies the power for good - Use it!