Results 1 to 2 of 2

Thread: fileput and fileopen equivalent in compact framework 3.5?

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2013
    Posts
    9

    fileput and fileopen equivalent in compact framework 3.5?

    I am developing an application for windows mobile 6.5 and have a structure that I would like to save. I know that you can save/open structures in other frameworks using fileput and fileopen but these are missing within compact framework 3.5, how do you go about doing this?

    Thanks

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: fileput and fileopen equivalent in compact framework 3.5?

    You shouldn't use FilePut and FileOpen in VB.NET at all. They are VB6 holdovers and should only ever be used in code that has been converted from VB6 and already uses them for the sake of compatibility. In new VB.NET code you should use members of the System.IO namespace, e.g. FileStream and BinaryReader/BinaryWriter, or else use binary or XML serialisation.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width