1 Replies - 832 Views - Last Post: 23 March 2011 - 02:11 PM Rate Topic: -----

#1 Rstar2200  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 23-March 11

How can i read an "Structure" from saved file into an array?

Posted 23 March 2011 - 02:07 PM

Hi, How can i read an object "Structure" data from saved file into an array?
" I saved my data by (FilePut) Function "

this is part of the code I used

 Dim MyFile As String = SaveFileDialog.FileName
        Dim X As Integer = FreeFile()
        FileOpen(X, MyFile, OpenMode.Binary)
        For Each Emp As Employee In Employees
            Try
                FilePut(1, Emp)
            Catch ex As Exception
            End Try
        Next
        FileClose(X)


If there some way bu FileGet Function, Please answer me

Is This A Good Question/Topic? 0
  • +

Replies To: How can i read an "Structure" from saved file into an array?

#2 AdamSpeight2008  Icon User is offline

  • MrCupOfT
  • member icon


Reputation: 2270
  • View blog
  • Posts: 9,496
  • Joined: 29-May 08

Re: How can i read an "Structure" from saved file into an array?

Posted 23 March 2011 - 02:11 PM

Have a look at the Saving Your Objects Tutorials
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1