General discussion
October 18, 2002 at 03:26 AM
yakshasa

Chr(0) in VB.Net

by yakshasa . Updated 23 years, 11 months ago

In VB6, sUid = String$(32, 0) returns as a string of 32 binary zeros.

In VB.Net, sUid = New String(Chr(0), 32) returns “”, which equates to Nothing.

How do I get it to work like VB6?

Any help would be appreciated

–Hal

This discussion is locked

All Comments