Hi Tamir,
First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you're receving a compile error which
says missing ;. If there is any misunderstanding, please feel free to let
me know.
I agree with Scott's idea that since current 2.0 is a beta version,
anything can be happening. However, I have tried your code on both .net
framework 1.1 and 2.0, it seems to be fine on my machine. So I think there
must be some missing ; in your code before this line. Please also try
Scott's code to see if it works.
HTH.
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."