home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 10,054 of 10,840   
   Hlrsr to All   
   Re: Saving Binary File to .txt file   
   08 May 06 10:21:54   
   
   From: spamthis@spamware.com   
      
   There is not a single answer to what you are asking. The answer depends to   
   what you want to do. For example, you want to reject all the non readable   
   characters (with ASCII code below 0x20 or 32 in decimal) or just to read a   
   fixed amount of data that would fill a line in Wordpad and append to that   
   the Carriage Return - Line Feed characters at the end? Or...   
      
   Regards   
   GM   
      
   "Peter Bassett"  wrote in message   
   news:Xns97BC8FDC0BCFApbassett2223comcastn@216.196.97.136...   
   > I need to process data in many binary files. If I open the file in Wordpad   
   > the data is readable. If I save the file as a Text Document I can process   
   > the .txt file in VB via the Open and Line Input commands.   
   >   
   > I would like to loop through all my binary files and convert them to .txt   
   > in VB code instead of manually doing the conversion. Can someone point me   
   > to the code to do this?   
   >   
   > Thanks,   
   > Pete   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca