• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[VB.NET] Fixed string length

Joined
Apr 28, 2005
Messages
6,953
Reaction score
2,420
I've searched google but I can't seem to find what I'm looking for.

I'm trying to set the limit on a string to 64 characters long. Google tells me,

<VBFixedString(64)>

will do the trick, but in my case it doesn't. VBFixedString sets all unused bytes to 20, but I need them set to 00.
 
Back
Top