Hello again,I've forgotten to specify that with many variables, just the last is initialized to zero.
For exemple: dim ID1, ID2, ID3, ID4 as longIknow that it's recommended**to initialize them but it's possible that it's just a bug.
Thank you again. Goodbye. Cédric.