Hi All
I want execute this procedure continuously using thread (public void prmcScan_TestDocEventasa) please help me i have attached my source code
Thanks
Asanka
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Bechir BejaouiPosted Sep 12, 2010, 8:53 AM
You can do this by leveraging the code that continues to call that procedure in a separate application domain within your application, but there is one concern is that objects in your application in the both domains the main one an the created one
won,t communicate directly, you need to create a .net remoting code to communicate them together
1. Write a code that calls the stored procedure in a separate assembly
2. Create a Appdomain and add it to your application then load the assembly within it
3. Use the assembly load event of the appdomain to lunch the code within the assembly
4. Use the Process exit event of the appdomain to stop the code and unload the assembly
Asanka DissanayakePosted Sep 14, 2010, 11:16 PM
is theres way to execute as event this method in same application with out using assembly
Asanka
Sam HobbsPosted Sep 11, 2010, 9:36 PM
Asanka DissanayakePosted Sep 11, 2010, 1:03 PM
Bechir BejaouiPosted Sep 11, 2010, 9:45 AM