Hello,
thanks for helping me with my problem ...
my program is about 5000 lines long,
what I did is cutting lines one by one,
first all lines I did not needed in my main base program ...
Then line by line, and still had the error message,
No red colored lines in the source to see ...
Till there was only 50 lines of my declarations left ...
and after cutting them again on by one, I found this error
COMMON SHARED DocNr() AS STRING * 4
I changed this in ...
DIM SHARED DocNr(1) AS STRING * 4
And Yes Yes Yes, it works OK
I lost some hours but I learned a lot ...
greetings,
marco