I have an application that runs sucessfully on ce.net 4.x. When I run
it on ce.net 5.0, it throws an exception on directory.getfiles. For
some reason, the exception won't get trapped. Has anyone else seen
this?
Showing us the faulting code would probably help those of us who don't read
minds.

Signature
Chris Tacke
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--
>I have an application that runs sucessfully on ce.net 4.x. When I run
> it on ce.net 5.0, it throws an exception on directory.getfiles. For
> some reason, the exception won't get trapped. Has anyone else seen
> this?
RobGSCL - 28 Nov 2006 16:37 GMT
lol. Sorry:
Private Sub cleanTempDir(Optional ByVal Tpath As String = "\Temp",
Optional ByVal Tfilter As String = "*.TMP")
Try
If Right(Tpath, 1) <> "\" Then Tpath = Tpath & "\"
Dim Tfiles() As String = Directory.GetFiles(Tpath, Tfilter)
'<-here's where it bombs
Dim Tfile As String
For Each Tfile In Tfiles
Try
File.Delete(Tfile)
Catch ex As Exception
End Try
Next Tfile
Catch ioex As IOException
Catch ex As Exception
End Try
End Sub
> Showing us the faulting code would probably help those of us who don't read
> minds.
[quoted text clipped - 10 lines]
> > some reason, the exception won't get trapped. Has anyone else seen
> > this?
RobGSCL - 29 Nov 2006 21:30 GMT
ttt
> lol. Sorry:
>
[quoted text clipped - 32 lines]
> > > some reason, the exception won't get trapped. Has anyone else seen
> > > this?