Enrico
Just a wild idea .. had a program that would always fail when a user did a screen shot capture .. and it turned out I had an ON PAINT clause on the window they were doing the screen captures on.
What I am getting at is ON PAINT captures Windows messages and sometimes just having the screen open ( inactive ) and your form has an ON PAINT .. will capture other programs messages and cause some un-intended failures of your program.
Also .. as far as ADO .. some will disagree with me, but I do not use an active connection to define my recordsets .. when I need data .. I just create the oRs with the sql statement and the connection string "on demand".
Rick Lipkin