It was managed code. If I put the sub program in the same project as the calling program ,it works fine. I will use that for now until I have more time to explore.
Thanks for all of the help.
It was managed code. If I put the sub program in the same project as the calling program ,it works fine. I will use that for now until I have more time to explore.
Thanks for all of the help.