Importing binary Date (VB3) to VB.NET

M

Martin Eckel

Hello,

I am in the need to import binary files written by a VB3 program to a
VB.NET program.

Importing values with .ReadInt16, .ReadSingle etc. works fine (reading
from filestream), but what do I have to do to import an old VB3 date type?

Best regards,
Martin Eckel
 
R

ralph

Hello,

I am in the need to import binary files written by a VB3 program to a
VB.NET program.

Importing values with .ReadInt16, .ReadSingle etc. works fine (reading
from filestream), but what do I have to do to import an old VB3 date type?

Good old memory jog... <g>

I believe it was still a Double even back then. But of a different
size. (???)

I vaguely remember using LSet to read older "16-bit" files with VB4+
(32-bit) applications. But that was likely because we had saved the
original files as "records" (types) in the first place.

HTH
-ralph
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top