This code uses the Windows Common Dialog Control that ships with VB6 SP3. If you have any problems, go to the components dialog in VB, and check the reference to the version of the Common Dialog Control that you have.