Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Having access to the browser object in DLL
Message
De
11/04/2006 22:15:20
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Having access to the browser object in DLL
Divers
Thread ID:
01112761
Message ID:
01112761
Vues:
50
In an application, I have an event defined like this:
    Private Sub WebBrowserErrorBeforeNavigate2(ByVal sender As System.Object, _
     ByVal e As AxSHDocVw.DWebBrowserEvents2_BeforeNavigate2Event) Handles WebBrowserError.BeforeNavigate2
        Dim loBrowserUrl As Framework.BrowserUrl = New Framework.BrowserUrl
        loBrowserUrl.GetUrl(e)
    End Sub
This event is calling a method of a class which is located in the Framework.dll. This method is like this:
Public Class BrowserUrl

    Public lBrowser As Boolean = False
    Public nOperation As Integer = 0

    ' Get the Url
    Public Function GetUrl(ByVal toBrowserEvent As AxSHDocVw.DWebBrowserEvents2_BeforeNavigate2Event) As Boolean
    End Function

End Class
However, I have Type 'AxSHDocVw.DWebBrowserEvents2_BeforeNavigate2Event' is not defined.

How should I define this parameter so I can pass a browser event?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform