2007-03-16 IntegerをUInt32へキャスト VB.NET Dim i As Integer CType(i, UInt32) これはエラーになります。 System.Convert を用いて ToUInt32(i) これならオッケー。