/*(D), Devíbero. 1999 --------------------------------------------------------Es Este es, amigos, el primer código fuente que escribí.

Lo propuse para optar por el título profesional de Realizador de Cine y Televisión. Es un programa caótico / aleatorio basado en un guión onírico. La interfaz representa un tostador de video del cual emerge un pan – imagen. Lo escribí para Visual Basic (básicamente era lo único que conocían mis profesores). El código es académico y por ende, libre. Está protegido por la licencia de Creative Commons se permite modificar cuando el interés es no comercial. Agradeceré mucho su opinión, jorgemariozuleta --------------------------------------------------------En Here you have my friend my very first code. I wrote it for my Minor Thesis work. With my dear friend Ricardo, we wrote a surrealist script. I found it quite good so I want to produce it for multimedia. Here is the original Visual Basic code. I licensed it with Creative Commons modifications are allowed for no commercial purposes. Please drop a note, jorgemariozuleta */ Private Sub boton_Click() Video.Command = "Close" Video.Command = "Open" Video.Command = "Play" 'habilita el reloj del video 'no hay stop Timer2.Enabled = True 'elige una frase dadá para el <<led>> Dim A As Integer Randomize A = Int(45 * Rnd) If A = 1 Then Led.Caption = "Inicia ver un circo (Firma)" Else If A = 2 Then Led.Caption = "56kbps niños en la zona" Else If A = 3 Then Led.Caption = "1 V.R." Else If A = 4 Then Led.Caption = "Indiana Bird takes Wing" Else If A = 5 Then Led.Caption = "8.se publica ningún mas" Else If A = 6 Then Led.Caption = "educación actosa" Else If A = 7 Then Led.Caption = "Los vencidos-manía" Else If A = 8 Then Led.Caption = "Consejo (es decir" Else If A = 9 Then Led.Caption = "BILBAO" Else If A = 10 Then Led.Caption = "Imprimiendo un lanzamiento" Else If A = 11 Then Led.Caption = "Producto del usuario" Else If A = 12 Then

Led.Caption = "Underlining" Else If A = 13 Then Led.Caption = "Semana vidacms" Else If A = 14 Then Led.Caption = "Lograr a casero" Else If A = 15 Then Led.Caption = "<<Creo que no es común>>" Else If A = 16 Then Led.Caption = "Tarea:15" Else If A = 17 Then Led.Caption = "Discusión invertir" Else If A = 18 Then Led.Caption = "100093 azucarcafamX2500Gr" Else If A = 19 Then Led.Caption = "2300 N" Else If A = 20 Then Led.Caption = "$27.000 XRG 100" Else If A = 21 Then Led.Caption = "2.0 piso camino de..." Else If A = 22 Then Led.Caption = "00:00 del poder" Else If A = 23 Then Led.Caption = "Metro hora diploma" Else If A = 24 Then Led.Caption = "distribuidores está generación" Else If A = 25 Then Led.Caption = "Es dominante, tuátera ciudado" Else If A = 26 Then Led.Caption = "Compra a ma" Else If A = 27 Then Led.Caption = "ingles $11'500.000" Else If A = 28 Then Led.Caption = "47 Acorde Bo" Else If A = 29 Then Led.Caption = "Firmamento Foro Luce" Else If A = 30 Then Led.Caption = "Cien (100) seguir" Else If A = 31 Then Led.Caption = "Gracias por su compra" Else If A = 32 Then Led.Caption = "Sabor con cera" Else If A = 33 Then Led.Caption = "La simbólica 431" Else If A = 34 Then Led.Caption = "(Mezzo). (Pollo)" Else If A = 35 Then

Led.Caption = "Visitas Nenúfar y 16" Else If A = 36 Then Led.Caption = "Numero 22, sumamente común" Else If A = 37 Then Led.Caption = "Servicio de Valera" Else If A = 38 Then Led.Caption = "¡Más econónmico!" Else If A = 39 Then Led.Caption = "Notas g. (rabos) Azul" Else If A = 40 Then Led.Caption = "Si bemol de texto" Else If A = 41 Then Led.Caption = "Provee aire-pati tono" Else If A = 42 Then Led.Caption = "Progresivo su selección" Else If A = 43 Then Led.Caption = "Este guitarra ejemplo" Else If A = 44 Then Led.Caption = "Veneno cromos de medio" Else Led.Caption = "Deseable 223 tiempo pulga" End If End Sub Private Sub boton_DragOver(Source As Control, X As Single, Y As Single, State As Integer) Select Case State Case vbEnter t9.Picture = tecla Case vbLeave t9.Picture = Vacio End Select End Sub Private Sub boton_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) boton.Picture = b1 End Sub Private Sub Form_DragOver(Source As Control, X As Single, Y As Single, State As Integer) Select Case State Case vbEnter t9.Picture = tecla Case vbLeave t9.Picture = Vacio End Select End Sub Private Sub Form_Load() t9.Picture = tecla Video.hWndDisplay = Pantalla.hWnd End Sub Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) Salida.Visible = False End Sub Private Sub Foto_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) Pan.Visible = False Foto.Visible = False End Sub Private Sub Image1_Click() End Sub

Private Sub Led_DragOver(Source As Control, X As Single, Y As Single, State As Integer) Select Case State Case vbEnter t9.Picture = tecla Case vbLeave t9.Picture = Vacio End Select End Sub Private Sub Pan_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) Pan.Visible = False Foto.Visible = False End Sub Private Sub Pans_Click() End End Sub Private Sub Pans_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) Salida.Visible = True End Sub Private Sub Pantalla_Click() Text1.Visible = True End Sub Private Sub Pantalla_DragOver(Source As Control, X As Single, Y As Single, State As Integer) Select Case State Case vbEnter t9.Picture = tecla Case vbLeave t9.Picture = Vacio End Select End Sub Private Sub Picture1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) Salida.Visible = False End Sub Private Sub Salida_Click() End End Sub Private Sub t1_DragDrop(Source As Control, X As Single, Y As Single) If Source = t9 Then t1.Picture = tecla Timer6.Enabled = True End If End Sub Private Sub t1_DragOver(Source As Control, X As Single, Y As Single, State As Integer) Select Case State Case vbEnter t1.Picture = tecla Case vbLeave t1.Picture = Vacio End Select End Sub Private Sub t2_DragDrop(Source As Control, X As Single, Y As Single) t2.Picture = Vacio t9.Picture = tecla End Sub Private Sub t2_DragOver(Source As Control, X As Single, Y As Single, State As Integer) Select Case State Case vbEnter t2.Picture = tecla Case vbLeave t2.Picture = Vacio End Select End Sub

Private Sub t3_DragDrop(Source As Control, X As Single, Y As Single) t3.Picture = Vacio t9.Picture = tecla End Sub Private Sub t3_DragOver(Source As Control, X As Single, Y As Single, State As Integer) Select Case State Case vbEnter t3.Picture = tecla Case vbLeave t3.Picture = Vacio End Select End Sub Private Sub t4_DragDrop(Source As Control, X As Single, Y As Single) t4.Picture = Vacio t9.Picture = tecla End Sub Private Sub t4_DragOver(Source As Control, X As Single, Y As Single, State As Integer) Select Case State Case vbEnter t4.Picture = tecla Case vbLeave t4.Picture = Vacio End Select End Sub Private Sub t5_DragDrop(Source As Control, X As Single, Y As Single) t5.Picture = Vacio t9.Picture = tecla End Sub Private Sub t5_DragOver(Source As Control, X As Single, Y As Single, State As Integer) Select Case State Case vbEnter t5.Picture = tecla Case vbLeave t5.Picture = Vacio End Select End Sub Private Sub t6_DragDrop(Source As Control, X As Single, Y As Single) t6.Picture = Vacio t9.Picture = tecla End Sub Private Sub t6_DragOver(Source As Control, X As Single, Y As Single, State As Integer) Select Case State Case vbEnter t6.Picture = tecla Case vbLeave t6.Picture = Vacio End Select End Sub Private Sub t7_DragDrop(Source As Control, X As Single, Y As Single) t7.Picture = Vacio t9.Picture = tecla End Sub Private Sub t7_DragOver(Source As Control, X As Single, Y As Single, State As Integer) Select Case State Case vbEnter t7.Picture = tecla Case vbLeave t7.Picture = Vacio End Select End Sub

Private Sub t8_DragDrop(Source As Control, X As Single, Y As Single) t8.Picture = Vacio t9.Picture = tecla End Sub Private Sub t8_DragOver(Source As Control, X As Single, Y As Single, State As Integer) Select Case State Case vbEnter t8.Picture = tecla Case vbLeave t8.Picture = Vacio End Select End Sub Private Sub t9_DragOver(Source As Control, X As Single, Y As Single, State As Integer) Select Case State Case vbEnter t9.Picture = tecla Case vbLeave t9.Picture = Vacio End Select End Sub Private Sub t9_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) Pan.Visible = False Foto.Visible = False t9.Drag vbBeginDrag t9.DragIcon = mano End Sub Private Sub Text1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) Text1.Visible = False End Sub Private Sub Timer1_Timer() If boton.Picture = b1 Then boton.Picture = b0 End If End Sub Private Sub Timer2_Timer() 'random videos 'Dim A As Integer 'Randomize 'A = Int(50 * Rnd) ' If A = 1 Then ' Video.filename = "\Video\100.avi" ' Else 'end if ' Video.Command = "Open" ' Video.Command = "Play" 'etc. Video.Command = "Close" Video.Command = "Open" Video.Command = "Play" End Sub Private Sub Timer3_Timer() 'humo001 End Sub Private Sub Timer4_Timer() 'humo002 End Sub Private Sub Timer5_Timer() 'humo003 End Sub Private Sub Timer6_Timer() If t1.Picture = tecla Then t1.Picture = Vacio t2.Picture = tecla

Else If t2.Picture = tecla Then t2.Picture = Vacio t3.Picture = tecla Else If t3.Picture = tecla Then t3.Picture = Vacio t4.Picture = tecla Else If t4.Picture = tecla Then t4.Picture = Vacio t5.Picture = tecla Else If t5.Picture = tecla Then t5.Picture = Vacio t6.Picture = tecla Else If t6.Picture = tecla Then t6.Picture = Vacio t7.Picture = tecla Else If t7.Picture = tecla Then t7.Picture = Vacio t8.Picture = tecla Else If t8.Picture = tecla Then t8.Picture = Vacio t9.Picture = tecla Pan.Visible = True Foto.Visible = True 'Aca suena la campanilla 'Aca salta el pan Timer6.Enabled = False End Sub Private Sub tv_DragOver(Source As Control, X As Single, Y As Single, State As Integer) Select Case State Case vbEnter t9.Picture = tecla Case vbLeave t9.Picture = Vacio End Select End Sub Private Sub tv_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) Salida.Visible = False End Sub /* (D), 1999 jorgemariozuleta */

This work is licensed under the Creative Commons Attribution-NonCommercial 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc/3.0/ or send a letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA.

Sign up to vote on this title
UsefulNot useful