Discussion Locked

Chr(0) in VB.Net

0 helpful
0 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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

0 replies

No replies were posted before this discussion closed.

This discussion is closed to new replies.