Results 1 to 2 of 2

Thread: .DAT files

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2014
    Posts
    20

    Question .DAT files

    I am trying to open .DAT files into a richtextbox in vb 2010. When I open it, it has all the weird symbols (µ4[¬"èlòÚ. I need my program to be able to convert it and then save it with the same format.

    Thankyou in advance

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

    Re: .DAT files

    There is no one official format for DAT files. It's simply an extension that means that it's a data file and it's up to the application developer how they want to store their data. If you see gibberish then it's not a text file. It contains a binary representation of some data and you're just reading those bytes as characters, which produces nothing meaningful. You will have to find out how the data was saved in the first place and then perform the inverse operation to read it.

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