>I use xfrx and I have that dll on the network and that is the error message that comes up. I moved the api code into a method of the form and now call it from the click event of a command button rather than have it in the click event and it now works.
>
>I am not sure what triggered the error but it happened on both my development computer and the computers at my client.
>
>I saw some code Hilmar offered up last year and he was running it as a function so I decided to try it in a method and voila it worked. Go figure. Interesting I have been running that code for the past 3 years with no problems.
>
>
>As usual Thanks. As I always tell my developer friends - thank God for Sergey and UT.
Hi Gaylen,
I doubt that just moving code to a method fixed the problem in this case. I'm pretty sure that that it was either something else or the problem still exists but is hidden for now.
--sb--