Click here to Skip to main content
15,888,313 members
Home / Discussions / COM
   

COM

 
QuestionProblem with GetInterfaceFromGlobal() or IDispEventImpl::DispEventAdvise() Pin
kschi24-Sep-06 23:23
kschi24-Sep-06 23:23 
AnswerRe: Problem with GetInterfaceFromGlobal() or IDispEventImpl::DispEventAdvise() Pin
Zodiacon25-Sep-06 6:54
Zodiacon25-Sep-06 6:54 
GeneralRe: Problem with GetInterfaceFromGlobal() or IDispEventImpl::DispEventAdvise() Pin
kschi25-Sep-06 20:44
kschi25-Sep-06 20:44 
GeneralRe: Problem with GetInterfaceFromGlobal() or IDispEventImpl::DispEventAdvise() Pin
Zodiacon25-Sep-06 21:24
Zodiacon25-Sep-06 21:24 
GeneralRe: Problem with GetInterfaceFromGlobal() or IDispEventImpl::DispEventAdvise() Pin
kschi26-Sep-06 2:06
kschi26-Sep-06 2:06 
GeneralRe: Problem with GetInterfaceFromGlobal() or IDispEventImpl::DispEventAdvise() Pin
Zodiacon26-Sep-06 2:39
Zodiacon26-Sep-06 2:39 
GeneralRe: Problem with GetInterfaceFromGlobal() or IDispEventImpl::DispEventAdvise() Pin
kschi26-Sep-06 3:19
kschi26-Sep-06 3:19 
QuestionIntercepting file events. Pin
Geron24-Sep-06 21:28
Geron24-Sep-06 21:28 
I've read a few articles here on how to create shell extentions.
There is one question that I still havent found a answer for, so I hope someone here can help me out.

Is there any way at all to intercept file deletions? When using normal file-dialogs or the explorer gui and you click "delete" on a file (either by the delete-button or by using the icon in the toolbar). The usual "Do you want to move abc.txt to the recycle bin" appears. Now, is there any way to intercept the delete command and display a custom delete dialog? So far I've only come across examples that capture the event _after_ the file has been deleted, which in my case is waaay to late.

Now why do I want to do this? I'm writing a application that syncs selected files to a network drive. But if a user changes a file and happen to delete the file (by misstake) before the file has been synced. I want to show a custom dialog warning the user that the file havent been synced yet...
AnswerRe: Intercepting file events. Pin
User 21559724-Sep-06 21:42
User 21559724-Sep-06 21:42 
GeneralRe: Intercepting file events. Pin
Geron24-Sep-06 22:17
Geron24-Sep-06 22:17 
AnswerRe: Intercepting file events. Pin
User 21559724-Sep-06 22:48
User 21559724-Sep-06 22:48 
QuestionHow do i create COM Interface ? Pin
Sakthiu21-Sep-06 18:53
Sakthiu21-Sep-06 18:53 
AnswerRe: How do i create COM Interface ? Pin
Stephen Hewitt21-Sep-06 18:59
Stephen Hewitt21-Sep-06 18:59 
GeneralRe: How do i create COM Interface ? Pin
ShilpiP28-Sep-06 0:00
ShilpiP28-Sep-06 0:00 
AnswerRe: How do i create COM Interface ? Pin
Hamid_RT28-Sep-06 9:09
Hamid_RT28-Sep-06 9:09 
QuestionRegSvr32 failed Pin
Will888888821-Sep-06 9:40
Will888888821-Sep-06 9:40 
AnswerRe: RegSvr32 failed Pin
Sakthiu21-Sep-06 18:50
Sakthiu21-Sep-06 18:50 
GeneralRe: RegSvr32 failed Pin
saania khan21-Sep-06 19:12
saania khan21-Sep-06 19:12 
GeneralRe: RegSvr32 failed Pin
Sakthiu21-Sep-06 19:38
Sakthiu21-Sep-06 19:38 
GeneralRe: RegSvr32 failed Pin
User 21559721-Sep-06 19:47
User 21559721-Sep-06 19:47 
AnswerRe: RegSvr32 failed Pin
Stephen Hewitt21-Sep-06 19:43
Stephen Hewitt21-Sep-06 19:43 
AnswerRe: RegSvr32 failed Pin
User 21559721-Sep-06 19:49
User 21559721-Sep-06 19:49 
AnswerRe: RegSvr32 failed Pin
Shutaro27-Sep-06 7:42
Shutaro27-Sep-06 7:42 
AnswerRe: RegSvr32 failed Pin
David Leyva27-Sep-06 10:11
David Leyva27-Sep-06 10:11 
AnswerRe: RegSvr32 failed Pin
EQ219-Oct-06 0:21
EQ219-Oct-06 0:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.