LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Binary file reads in User type incorrectly

Oh man is this a strange one. I have a user defined type that I write
out to a file and read in via VBA. The type is all fixed lengths
strings and integers. It has read in fine in VB6 and VBA for years. I
recently changed the type to include another fixed length string and an
array of integers. Still writes out and reads in just fine in VB6,
however when I read it in with VBA, it reads in 2 bytes more than it
should. There is no rhyme or reason to it. Anyone experience this
before?

Thanks

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I type a date (1/05) in a cell, press enter, it reads ####.Why? KIWI New Users to Excel 2 February 5th 07 03:14 PM
Can't save excel file. The message reads "File is locked" Why is t Art Caragh Excel Discussion (Misc queries) 1 March 29th 06 02:11 PM
Help: Compile error: type mismatch: array or user defined type expected lvcha.gouqizi Excel Programming 1 October 31st 05 08:20 PM
Saving user specific binary data [email protected] Excel Programming 2 February 16th 05 04:38 AM
i received a file that reads powerpoint document file file exten. CCAROLACEREC Excel Discussion (Misc queries) 1 December 4th 04 05:02 PM


All times are GMT +1. The time now is 11:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"