I need this us all known "choose file" feature in my program, so i can load files.
What is this thing called as and where is the code for it?
I need this us all known "choose file" feature in my program, so i can load files.
What is this thing called as and where is the code for it?
With plain Win32 API you need to use the GetOpenFileName
function, documented here. An example of its usage is available here.
I'm assuming you want to know about the built-in Windows dialog for choosing/opening a file.
If you're doing managed code, see OpenFileDialog.
If you're doing MFC, see CFileDialog.
Are you talking about a dialog box where you can choose the file you want for processing, like in MS-Word's File/Open?
Hope this helps, Best regards, Tom.
What you are referring to are the "common dialogs", and you can get a file open dialog with GetOpenFileName
BOOL GetOpenFileName(
LPOPENFILENAME lpofn
);
My intent here is not to cover programming the Windows API as there are many good books on the subject but to cover integrating it into your Lotus Notes/Domino applications. I have included several good references on more information that I found useful as I was getting started doing this and I also have a couple of examples to show you what can be done through the API. If you're doing MFC, see Brandname