A
Art
Esteemed Forum Participants and Lurkers:
..NET Framework 1.1 - VB.NET 2003
I'm trying to validate a directory, and I've come across a
weird anomaly ...
I have a directory: C:\Table
The following
code:--------------------------------------------------
Dim attr As FileAttribute
Try
attr = GetAttr("C:\\\\\Table\\\")
If (attr And FileAttribute.Directory) =
FileAttribute.Directory Then
MsgBox("VALID")
End If
Catch
MsgBox("NOT valid")
End Try
-----------------------------------------------------
Returns "VALID" - I would expect it to catch an exception
for the invalid Path specification???
How do I forward a 'bug report' to Microsoft?
Thank you for any comments, suggestions, or assistance.
__________________
Blessings in abundance,
All the Best,
& ENJOY!
Art
Carlisle, PA USA
..NET Framework 1.1 - VB.NET 2003
I'm trying to validate a directory, and I've come across a
weird anomaly ...
I have a directory: C:\Table
The following
code:--------------------------------------------------
Dim attr As FileAttribute
Try
attr = GetAttr("C:\\\\\Table\\\")
If (attr And FileAttribute.Directory) =
FileAttribute.Directory Then
MsgBox("VALID")
End If
Catch
MsgBox("NOT valid")
End Try
-----------------------------------------------------
Returns "VALID" - I would expect it to catch an exception
for the invalid Path specification???
How do I forward a 'bug report' to Microsoft?
Thank you for any comments, suggestions, or assistance.
__________________
Blessings in abundance,
All the Best,
& ENJOY!
Art
Carlisle, PA USA