Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > Reading "unreadable" files


Reply
 
Thread Tools Display Modes
  #1  
Old 05-14-2005, 05:23 AM
catatonic catatonic is offline
Newcomer
 
Join Date: Feb 2005
Posts: 3
Default Reading "unreadable" files


I want to read the highscores of a game and save the results to a webpage. The problem is that the saved highscores is saved in a format i can not read.

I have attached an example. If anyone has any idea of how to proceed with this problem i would be very grateful.
Attached Files
File Type: txt player001(.sav).txt (8.0 KB, 12 views)
Reply With Quote
  #2  
Old 05-14-2005, 06:18 AM
reboot's Avatar
reboot reboot is offline
Keeper of foo

Retired Moderator
* Guru *
 
Join Date: Nov 2001
Location: Graceland
Posts: 15,612
Default

That's not a text file, it's a binary file. You'll need to know the format.
__________________
~ Quod non mortiferum, fortiorem me facit ~

Avatar by lebb
Reply With Quote
  #3  
Old 05-14-2005, 06:24 AM
catatonic catatonic is offline
Newcomer
 
Join Date: Feb 2005
Posts: 3
Default

Yes i am aware of that, just renamed it to txt to upload it here.

How would i get to know the format? I know people have done this already so it should be possible.

Thanks for your reply.
Reply With Quote
  #4  
Old 05-14-2005, 06:28 AM
reboot's Avatar
reboot reboot is offline
Keeper of foo

Retired Moderator
* Guru *
 
Join Date: Nov 2001
Location: Graceland
Posts: 15,612
Default

a) ask whoever wrote the program that produced the file
b) trial and error
__________________
~ Quod non mortiferum, fortiorem me facit ~

Avatar by lebb
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->