In A2k it is :-
Me.Cmdl01.InitDir = "Drive Letter"
Me.Cmdl01.Filter = "*.jpg|*.jpg"
Me.Cmdl01.ShowOpen
I'm not sure if it is the same in 97.
Check your library references in Tools>References.
Make sure you have the ActiveX Data Objects 2.1 ticked.
Kev.