I have tried to get an instance of com component by (axsession.sessionlib) but it is showing invalid activex state in visual studio but it is showing serialization error in openspan studio.
When i drag a com component on windows form manually in visual studio .csproj project it is creating CSLD and progid in regedit intermally it is creating a system.windows.forms.axhost+state in resx of the corresponding windows form automatically.how to do this process and getting instance of control dynamically.
When i add a "system.windows.forms.axhost+state" in a new resources file it is showing "identifier is not valid"
And how can i create a com component control on windows form in openspan studio?!