J
Jeffery Franzen
Anyone know where the documentation is regarding Activex controls in asp web forms?
I'm using VS.NET 2002 enterprise and am trying to use Activex controls in vb.net web form app.
I do the add control to pallete and then add a reference. I get the interop dll added to bin folder.
I did this with the MediaPlayer activex control as a simple case to to try and get it working.
I set the control to autostart via the html parameter tag for the control.
Then I set it to stop in the page_load but it doesn't
What's the trick in getting apsx code to talk to the activex control?
I put the following code in the aspx file:
**************************************************************************************************************************************************
Imports MediaPlayer
Public Class host
Inherits System.Web.UI.Page
#Region " Web Form Designer Generated Code "
#End Region
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim obj As New MediaPlayer.MediaPlayerClass()
obj.Stop()
End Sub
End Class
I'm using VS.NET 2002 enterprise and am trying to use Activex controls in vb.net web form app.
I do the add control to pallete and then add a reference. I get the interop dll added to bin folder.
I did this with the MediaPlayer activex control as a simple case to to try and get it working.
I set the control to autostart via the html parameter tag for the control.
Then I set it to stop in the page_load but it doesn't
What's the trick in getting apsx code to talk to the activex control?
I put the following code in the aspx file:
**************************************************************************************************************************************************
Imports MediaPlayer
Public Class host
Inherits System.Web.UI.Page
#Region " Web Form Designer Generated Code "
#End Region
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim obj As New MediaPlayer.MediaPlayerClass()
obj.Stop()
End Sub
End Class