Hi, I'm new to VB, this is the first time I use it, so please excuse my ignorance.

This is what I want to do:

<filecontent>
data1moredata1andsomethingelse
</filecontent>

I need to open a file in binary mode, then read the first 4 bytes into a variable, the next 9 into another and the 16 left into a 3rd one. I know this is done via structure, declaring 3 variables and the specific length of each other, but, how?

Can anyone give me an example on how to work around this?

Thx in advance.