G
Gabriel RIvera
I am having trouble dealing with events and online
instructions like these
(http://msdn.microsoft.com/library/default.asp?
url=/library/en-
us/vbawd10/html/wohowapplicationevents.asp) don't help.
Ok i have this..
as my variable declaration
Dim WithEvents wapp As Word.Application
and this as my method i want to add code to.
This method i got it from using the VB.NET STUDIO
automated object drop down menu's which makes methods.
Private Sub wapp_Quit() Handles wapp.Quit
End Sub
HOWEVER, when i try of compiling this code i get the error
'Quit' is ambiguous across the inherited
interfaces 'Word._Application'
and 'Word.ApplicationEvents3_Event'.
Don't know how to fix this? Can anyone help?
-g
instructions like these
(http://msdn.microsoft.com/library/default.asp?
url=/library/en-
us/vbawd10/html/wohowapplicationevents.asp) don't help.
Ok i have this..
as my variable declaration
Dim WithEvents wapp As Word.Application
and this as my method i want to add code to.
This method i got it from using the VB.NET STUDIO
automated object drop down menu's which makes methods.
Private Sub wapp_Quit() Handles wapp.Quit
End Sub
HOWEVER, when i try of compiling this code i get the error
'Quit' is ambiguous across the inherited
interfaces 'Word._Application'
and 'Word.ApplicationEvents3_Event'.
Don't know how to fix this? Can anyone help?
-g