Can someone please post a sample C++ snippet from VC++ 6 that will make one of those dialog boxes popup so I can have the user just point to the file they want to open and hit ok to store the location and open the file?

Thanks in advance.

03-16-2003

Vber

Well, I think this is a more specific windows programming question, so, you'll find more answers in the windows programming board.

03-16-2003

Hammer

moved ...

03-16-2003

Ken Fitlike

They're referred to as 'common dialog boxes'.

Search this board for GetOpenFileName. You might also want to look at GetSaveFileName.

Don't forget to read up on those functions on msdn (examples there too):