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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Bechir BejaouiRank #144 · 15.9K reputationPosted Sep 12, 2010, 4:53 AM EDT
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
Bechir BejaouiRank #144 · 15.9K reputationPosted Sep 11, 2010, 5:45 AM EDT
Asanka Dissanayake38 reputationPosted Sep 11, 2010, 9:03 AM EDT
Sam HobbsRank #107 · 20.5K reputationPosted Sep 11, 2010, 5:36 PM EDT
Asanka Dissanayake38 reputationPosted Sep 14, 2010, 7:16 PM EDT
is theres way to execute as event this method in same application with out using assembly
Asanka