>How do I convert an Integer into system.uint32.
>dim MN as integer=1
>dim ComArg as System.Uint32=MN <-compiler error?
While VB allows you to use the UIntXX structures it doesn't go out its
way to make it easy because they aren't CLS-compliant. To assign an
Int32 value, you'll need to make use of the Convert class:
dim MN as integer=1
dim ComArg as System.UInt32
ComArg = Convert.ToUInt32(MN And &HFFFFFFFFL)
--------
Best Regards,
Dustin Campbell
Developer Express, Inc