what terminates your records? On Mon, Sep 29, 2008 at 12:27 PM, BJ <[EMAIL PROTECTED]> wrote:
> > I was tasked with creating this new output record for an existing VB6 > app. The new record(s) first field cotains a text value that contains > a transaction code. The second field needs to be of type > binary while the remainder of the record is text. The sample file I > received does infact look this way. Field one is text value, followed > by what looks like grabage, and then more text. > > If I open this text file in an editor like TextPad (using the binary > format), I can see the Hex representation of the second field. I need > to create the same type of record format using my values: > F2 34 25 E4 06 88 81 01 > > I thought I was close to an answer when I looked up UTF8Encoding > Class. I can't ask the team who created the sample file because it > came from a COBOL application on a mainframe. I'm sure they used > something like: > > Field1 X(06). > Field2 X(08) COMP3. > Field3 X(10). > > The application is in VB6. I can either modify the application to read > (at minimum) a hex string and return a Binary value or create a > literal value of this Binary field. > > B > > > -- Charles A. Lopez [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://cm.megasolutions.net/forums/default.aspx <p><a href="http://feeds.feedburner.com/DotNetDevelopment"><img src="http://feeds.feedburner.com/~fc/DotNetDevelopment?bg=99CCFF&fg=444444&anim=1" height="26" width="88" style="border:0" alt="" /></a></p> -~----------~----~----~----~------~----~------~--~---
