francois.archambault wrote:
Why don't you use a Blob instead of NTEXT, if I got it right, NTEXT contains a variable number of unicode character when an Excel file contains binary values.
Try using a Blob type and use a byte array to retrieve your Excel file. It should be really simple to create your excel file from a byte array after retrieving it correctly form your SQL Server.
I hope this helps you out.
Francois Archambault
Thanks a lot Francois for your answer, but i have a trouble because that field is used by another VisualBasic application and my app is just an only-read client and i don“t think it could be possible to change the field. Do you have any other idea?