Hi Webtubbs,
Thanks for the reply.
I incorporated your suggestion to my code, The problem i got is that my current form is inheriting from some base forms so i need to make all those projects also "assembly COM-visible" which i don't want.
Can you please suggest some other solution so that i don't need to chnage any thing in my project configuration.
Anurag





by: webtubbsPosted on 2009-10-26 at 00:48:19ID: 25660275
You can call an routine of the container application (ie, your application) using JavaScript.
First you need to ensure your application is COM visible by going to the Project Properties > Application tab > Assembly Information, then ensuring "Make assembly COM-visible" is checked.
Then take a look at the below example showing how to "capture" the button click.
Wayne
Select allOpen in new window