I\'m trying to convert Delphi code to vb.net and I\'m not sure about this line:
stream.Seek($42, soFromBeginning);
I\'m familiar with using
$ is the prefix for a hexadecimal constant. In VB.NET, that's &H, so you would write &H42.