![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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? |
#3
| |||
| |||
|
|
Showing us the faulting code would probably help those of us who don't read minds. -- Chris Tacke OpenNETCF Consulting Managed Code in the Embedded World www.opennetcf.com -- "RobGSCL" <robgreenfield (AT) earthlink (DOT) net> wrote in message news:1164701763.705506.204420 (AT) 14g2000cws (DOT) googlegroups.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? |
#4
| |||
| |||
|
|
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 ctacke/> wrote: Showing us the faulting code would probably help those of us who don't read minds. -- Chris Tacke OpenNETCF Consulting Managed Code in the Embedded World www.opennetcf.com -- "RobGSCL" <robgreenfield (AT) earthlink (DOT) net> wrote in message news:1164701763.705506.204420 (AT) 14g2000cws (DOT) googlegroups.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? |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |