LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Excel References Not Release When IDTExtensibility2 Used

Joel - you said "You need to use CloseEvent and pass it the Handle
Number. "
You then again reference the "closeevent function" in your follow up
post, but link to a function that closes the handle, called
CloseHandle. Was that just a mistake on the name of the function, or
did you mean to link something else?
thanks!


On Sep 17, 2:41*pm, Joel wrote:
A handle is a linked lists of event that is usually in windows triggered by
the Tick timer. *When a timer event occurs windows goes down the list of
events and runs each process. *When you stop a handle you need to remove the
handle from the link list of events and kill the process. *The closeEvent I
belive does both operations, unlink the event and stops the process.

Description of what a handle ishttp://msdn.microsoft.com/en-us/library/ms724176(VS.85).aspx

closeevent functionhttp://msdn.microsoft.com/en-us/library/ms724211.aspx

" wrote:
Joel - can you clarify that please? *How do I "use" CloseEvent? *If
you mean the workbook close event, then what should I do there with
the handle number? *As you can see, I'm already removing the
registration of the handler.
thanks!


On Sep 17, 1:23 pm, Joel wrote:
You need to use CloseEvent and pass it the Handle Number.




 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add-in with IDTExtensibility2 and worksheet formulae Lars[_4_] Excel Programming 2 June 25th 07 12:43 PM
Excel 12 New Release Bart Vwb Excel Discussion (Misc queries) 5 October 4th 05 10:07 PM
IDTExtensibility2 kt Excel Programming 0 June 2nd 05 05:28 AM
IDTExtensibility2.OnConnection Event Mircea Pleteriu[_2_] Excel Programming 2 March 18th 05 02:36 AM
How to release the EXCEL.EXE procedure? Serge[_2_] Excel Programming 0 September 23rd 03 05:12 PM


All times are GMT +1. The time now is 07:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"