dcsimg
Results 1 to 2 of 2

Thread: How to find a particular string from a file written with binary writer

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2018
    Posts
    2

    How to find a particular string from a file written with binary writer

    Hello all,

    Actually i have an file in which data(no of integers,strings) has been written with binary writer.....but now i want read specific data from that file not from starting to end. for example i just want to read a string from that file which is written in between somewhere of that file and i also want to read the position of that string....please help.

  2. #2
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    100,010

    Re: How to find a particular string from a file written with binary writer

    If you don't know where the data is in the file then you have no choice but to read what comes before it until you get to the part you want.
    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

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width