>Naomi,
>
>Thanks for your quick response.
>
>I have done the things you suggested. Again, it works when I create the object directly for the PRG file. When I build the COM EXE, i no longer get the error that aBlobData is undefined. However, at runtime, I get the error in the FOR loop saying "Invalid subscript reference".
>
>Jim
>
>
Can you post code that invokes this function and also the code that checks the array size.
If it's not broken, fix it until it is.
My Blog