VB . NET help with FileOpen

Results 1 to 3 of 3

Thread: VB . NET help with FileOpen

  1. #1
    Join Date
    Dec 1969

    Default VB . NET help with FileOpen

    I have something to do on VB.NET and i use the FileOpen to wrtie and read data in a text format file. How do search something inside of it like i would like to search if there is something that have "Thomas" for name...<BR><BR>and i use a Structure ... any place with a good VB.NET forum ??<BR><BR>thanx<BR><BR>========my code========<BR>nf = FreeFile()<BR><BR> FileOpen(nf, Application.StartupPath + "Students.data", OpenMode.Random, _<BR> OpenAccess.ReadWrite, OpenShare.Default, Len(Eleve))<BR><BR> ne = LOF(nf) / Len(Eleve)<BR><BR> Etudian.Add(Eleve)<BR><BR> Dim i As Integer = 0<BR><BR> Do Until i = ne<BR> If Eleve.nom = nom Then<BR> pos = i<BR> End If<BR> Loop<BR><BR> FileGet(nf, Eleve, pos)<BR> RemplirFiche()<BR>

  2. #2
    Join Date
    Dec 1969

    Default Try the .NET Forum


  3. #3

    Default RE: VB . NET help with FileOpen

    It does belong in the .Net forums.<BR><BR>As it is posted here, I feel free to say "stop using those old VB methods".<BR>http://archive.devx.com/vb/free/articles/rj070801/rj070801-11.asp

Posting Permissions

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