You can do a lot of this using the CVI function FileSelectPopup(), without using the Windows SDK.
Open the function panel for FileSelectPopup(). You'll see options to Restrict Directory, Restrict Extension, Allow Cancel, Allow Make Directory.
For example, the following statement restricts the directory to D:\My Documents, allows only .xls extension, doesn't allow cancel, and doesn't allow Make Directory.
FileSelectPopup ("d:\\My Documents", "*.xls", "", "", VAL_LOAD_BUTTON, 1, 1, 0, 0, myPath);
The easiest way to use this function is to use the function panel to set it up. From the menu on a window for the .c file, goto Library >> User Interface >> Pop-up Panels >> File/Directory Popups (if you don't have the libraries flattened). Or, in the window for the .c
file, press P and enter FileSelectPopup.