K
Ken Dopierala Jr.
Hi,
Here is C# code:
Random rdm1 = new
Random(unchecked((int)DateTime.Now.Ticks));
Can I do this in VB? I've tried CType(DateTime.Now.Ticks, Integer) and
CInt(DateTime.Now.Ticks) but both of them error out because the number is
too large. How can I do the cast like C# does? Thanks! Ken.
Here is C# code:
Random rdm1 = new
Random(unchecked((int)DateTime.Now.Ticks));
Can I do this in VB? I've tried CType(DateTime.Now.Ticks, Integer) and
CInt(DateTime.Now.Ticks) but both of them error out because the number is
too large. How can I do the cast like C# does? Thanks! Ken.