DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    kevin hankins Guest

    structured files


    we have defined a structured binary file type using VB user defined structures
    (see below e.g.)

    will it be possible to read such files written with VB 6 in VB.NET?

    Thank you.

    Type type_file 'one file
    num_months_to_retain As Integer
    num_file_attributes As Integer
    num_file_conditions As Integer
    num_part_conditions As Integer
    num_test_variables As Integer
    num_skip As Integer
    data_type As Byte
    file_attributes() As String
    data() As single
    num_parts As Long
    file_format_eof As String
    End Type 'type_file


  2. #2
    Jonathan Morrison Guest

    Re: structured files


    I wouldn't count on it, but it's tough to say with .NET still unreleased.
    However, once the structure for vb.net "Types" is known, you should be able
    to write a .net wrapper around them pretty easily.

    -Jonathan
    "kevin hankins" <hcs7@skyenet.net> wrote:
    >
    >we have defined a structured binary file type using VB user defined structures
    >(see below e.g.)
    >
    >will it be possible to read such files written with VB 6 in VB.NET?
    >
    >Thank you.
    >
    >Type type_file 'one file
    > num_months_to_retain As Integer
    > num_file_attributes As Integer
    > num_file_conditions As Integer
    > num_part_conditions As Integer
    > num_test_variables As Integer
    > num_skip As Integer
    > data_type As Byte
    > file_attributes() As String
    > data() As single
    > num_parts As Long
    > file_format_eof As String
    >End Type 'type_file
    >



Similar Threads

  1. How to manage PAK files in vb programs?
    By Melawen in forum VB Classic
    Replies: 6
    Last Post: 04-17-2005, 05:56 AM
  2. XML files vs Database
    By Mansoor in forum Enterprise
    Replies: 2
    Last Post: 09-10-2002, 10:38 PM
  3. XML files vs Database
    By Mansoor in forum XML
    Replies: 8
    Last Post: 08-23-2002, 04:35 PM
  4. Replies: 0
    Last Post: 03-13-2001, 01:54 PM
  5. Replace In Files utility released
    By René Whitworth in forum vb.announcements
    Replies: 1
    Last Post: 04-29-2000, 02:54 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links