hi,

sometime ago i asked if it was possible to determine the number of features
within a tab file by directly reading the .data or .map file.  somebody
kindly supplied the following code

Open File strMapFile for binary as #1 ByteOrder LowHigh
Get #1, 317, nPoints    ' nPoints etc are integer variables
Get #1, 321, nLines     ' plines + lines + arcs
Get #1, 325, nRegions   ' regions + rects + ellipses
Get #1, 329, nText

however, this only seems to work within MapBasic.  I am trying to do the
same thing in VBA but to no avail.  Does anybody have any idea what the
problem could be?

Thanks

Daniel  
-----------------------------------------------------------------------------------------------------------------------------------------------
Visit our websites www.wrcplc.co.uk and www.wrcnsf.com, as well as 
www.waterportfolio.com for collaborative research projects.
-----------------------------------------------------------------------------------------------------------------------------------------------

The Information in this e-mail is confidential and is intended solely for the 
addressee. Access to this e-mail by any other party is unauthorised. If you are 
not the intended recipient, any disclosure, copying, distribution or any action 
taken in reliance on information contained in this e-mail is prohibited and 
maybe unlawful. When addressed to WRc clients, any opinions or advice contained 
in this e-mail are subject to the terms and conditions expressed in the 
governing WRc client Agreement.



---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 16351

Reply via email to