wrote:
I tried to do it but it gives error at runtime.
What error does it give ? Why did you not tell us the error, were you scared we might be able to help if you did ?
The odds of Powerbuilder supporting .NET seem very low to me. It may support COM, perhaps you need to build a COM dll ?