Sunday, August 21, 2011

found how to integrate to vb 2010 onquit for internet explorer

found how to integrate to vb 2010 onquit for internet explorer without linking to the SHDocVw.dll as least not directly in the syswow64 directory but with the com reference that was created for it


right click on project in visual studio 2010:

'add reference, com, microsoft internet control

    Public oIE As SHDocVw.InternetExplorer



        oIE = New SHDocVw.InternetExplorer
        AddHandler oIE.onQuit, AddressOf oIE_onQuit



    Private Sub oIE_onQuit()
        End
    End Sub

so when my user quit internet explorer (wich is the main interface), the program end

now working on the 2 other functions of the project
causes search and component search



No comments:

Post a Comment