OpenFileDialog

  • Thread starter Thread starter Dominic Anthony
  • Start date Start date
D

Dominic Anthony

I'm using the following code in VS 2005 CF 2, Pocket PC 2003

Dim OpenDia As New OpenFileDialog

OpenDia.Filter = "Database files (*.db3)|*.db3|All files (*.*)|*.*"
OpenDia.InitialDirectory = "\"
OpenDia.FilterIndex = 1

The above code finds files on the SD card with no problem but skips any on
the device.

What am I doing wrong ?


Dom
 
OpenFileDialog on Pocket PC always looks in only the My Documents folder and
the SD card (to within 1 subfolder). The InitialDirectory property has no
effect on this platform.

Peter
 
Back
Top