Results 1 to 3 of 3

Thread: Serialization...I think...

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2003
    Posts
    830

    Serialization...I think...

    Hello,

    I thought I saw a VB.NET sample of this once. In fact, I have both the 101 VB and C# samples, but for some reason it does not seem like what I want.

    What do I want you ask? Well..I have a program in which I want to save my settings such as the last directory I was in, the last file I had selected (and displayed in a label), etc..etc... I think I have seen other programs use INI files for this, but is Serialization the way to go or another way?

    Are there any simplistic samples?

    Thanks!

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Serialization...I think...

    If all that info is stored in a single object's properties, then you could. Or go the somewhat conventional, somewhat modern approach and save it to an XML file instead of INI.

  3. #3
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: Serialization...I think...

    Quote Originally Posted by birthjay
    Are there any simplistic samples?
    Yes.

    http://www.vbforums.com/showthread.php?t=324577
    I don't live here any more.

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