Thanks Scott,
That translates pretty close to what I ended up with. I haven't been able to test it yet, but your message confirms it should work.
Tim
>Hi Tim
>
>Here's a version in VB.Net....TransferType is the enum.
>
> Public Shared Function GetTransferType(ByVal value As String) As TransferType
> Dim theTransferType As TransferType
>
> Try
> theTransferType = CType(System.Enum.Parse(GetType(TransferType), value, True), TransferType)
> Catch ex As Exception
> theTransferType = TransferType.Unknown
> End Try
>
> Return theTransferType
> End Function
Timothy Bryan