I am new to this forum and I allready have, I think, a difficult question. I am sorry...

What I want to do is writing the contents of a textbox together with the contents of a picturebox to the same file.

The following code does not work of course, but gives an idea of what I have in mind, at least I hope so.

Type Text
ThisIsText as String
End Type

Type Photo
ThisIsPhoto as Picture
End Type

Type Page
Texts(10) As Text
Photos(10) As Photo
End Type

Type Document
Pages(10) As Page
End Type

Dim xDocument as document

Sub SaveDocument
Open FileName For Binary As #1
Put #1, 1, xDocument
Close #1
End Sub

Maybe somebody can put me on the right track!
(hope my english is not too corrupt!!!)

Thanks!