.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!



Home >> Forum >> VB.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Kill Current excel.exe when i m closing the excel sheet

Posted By: Santosh     Posted Date: May 31, 2010    Points:2   Category :VB.Net
hi all,
i am working on vb.net,
i have created the excel sheet Dynamically
but when i am closing the excel sheet,the exe is still there in process,
so i want to kill the currnet excel.exe when i am closing Excel sheet(not killing all excel.exe).


Regards
Santosh

Responses
Author: Amit Mehra             
Posted Date: May 31, 2010     Points: 5   

Hi,

But why need to kill the excel process..As far as I know its tough to kill particular excel process. Yes you can kill all the excel process.

You can use close() method of the excel class object. also you can say null to the excel object.

for eg

objExcel = null;



Thanks,
Amit
Please "Mark As Answer " if this post help you.


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend