miércoles, 19 de noviembre de 2014

sábado, 4 de enero de 2014

Insertar reproductor VLC en proyecto Windows form Visual Studio vb.net



Hay que añadir el control VLC en el tabulador de herramientas por componentes COM, elegir los 2 plugins del VLC




Ejemplo del boton 1 que me reproduce un archivo ubicado en determinada ruta


Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        'boton play 1
        AxVLCPlugin21.playlist.items.clear()
        AxVLCPlugin21.playlist.add("file:///J:\COTAIBPROJECT\FLV\01_Video_1.flv")
        AxVLCPlugin21.playlist.play()

    End Sub


Boton 2 que  me reproduce otro archivo
    Private Sub Button2_Click_1(sender As Object, e As EventArgs) Handles Button2.Click
        'boton play 2
        AxVLCPlugin21.playlist.items.clear()
        AxVLCPlugin21.playlist.add("file:///E:/EnviarCorreo/TestimonioFerias.mp5")
        AxVLCPlugin21.playlist.play()
    End Sub

sábado, 21 de septiembre de 2013

Variable global en asp.net

Las variables globales se ingresan luego de donde se declara en la parte de arriba la pagina ejemplo:

Partial Class mipagina_Default

Inherits System.Web.UI.Page

Dim mivariable As String = ""  <------AQUI DECLARO LA VARIABLE

Protected Sub Page_Load..........