Home All Groups Group Topic Archive Search About

Mysteriously Caught Exceptions

Author
27 Mar 2009 3:34 AM
BrianB
I'll start by admitting that I'm a VB.NET noobe.  That said, I have this
chunk of code:

Try
    File.SetAttributes(strDest, FileAttributes.Normal)
    Call LogStatus("I", "SUCCESS -- EXTRACT FILE", "SOURCE=" & strsource,
"DESTINATION=" & strDest)
Catch ex As Exception
    Call LogStatus("F", "EXTRACT FILE", ex.GetBaseException.ToString)
End Try

Whose purpose is to remove any read-only attribute on the file. On some
files the read-only attribute is not being cleared, but no exception is
being raised. I'm not the original author of this app. What should I be
looking for that is overriding this try-catch?

Brian

Author
27 Mar 2009 4:05 AM
christery
Trying this in a .NET group? just a thought, no stay here - you will
get some more answers like this.

Show quoteHide quote
> being raised. I'm not the original author of this app. What should I be
> looking for that is overriding this try-catch?
>
> Brian