HTML
Publicado por Alberto (26 intervenciones) el 28/12/2007 16:17:28
Hola alguien me podria pasar esto a html ¿no se si es posible?
'declaracion de variables
Dim txt As String
Dim Nombre As String
Dim correo As String
Dim titulo As String
Dim fecha As String
Dim textoincluido As String
Dim comprobacion As String
Private Sub Command1_Click()
comprobacion = Text4
If Text1 = "" Then
MsgBox "pon titulo"
ElseIf Text2 = "" Then
MsgBox "pon nombre"
'compruebacion de si se ha peusto el mismo cometnario
ElseIf comprobacion = txt Then
MsgBox "no pongas el mismo comentario"
Else
Text5 = Text5 & vbCrLf & "------------------------------------------------------------------------------------------------" & vbCrLf
'variables
txt = Text4
Nombre = Text2
correo = Text3
titulo = Text1
fecha = Date$
'introduccion de texto
Text5 = Text5 & fecha & vbCrLf
Text5 = Text5 & "titulo:" & titulo & vbCrLf
Text5 = Text5 & "nombre:" & Nombre & vbCrLf
Text5 = Text5 & "correo:" & correo & vbCrLf
Text5 = Text5 & "comentario:" & txt & vbCrLf
textoincluido = txt
End If
End Sub
Los objetos k hay
4 text box
1ext box con multiline y scroll var vertical
1 boton
Feliz navidad
'declaracion de variables
Dim txt As String
Dim Nombre As String
Dim correo As String
Dim titulo As String
Dim fecha As String
Dim textoincluido As String
Dim comprobacion As String
Private Sub Command1_Click()
comprobacion = Text4
If Text1 = "" Then
MsgBox "pon titulo"
ElseIf Text2 = "" Then
MsgBox "pon nombre"
'compruebacion de si se ha peusto el mismo cometnario
ElseIf comprobacion = txt Then
MsgBox "no pongas el mismo comentario"
Else
Text5 = Text5 & vbCrLf & "------------------------------------------------------------------------------------------------" & vbCrLf
'variables
txt = Text4
Nombre = Text2
correo = Text3
titulo = Text1
fecha = Date$
'introduccion de texto
Text5 = Text5 & fecha & vbCrLf
Text5 = Text5 & "titulo:" & titulo & vbCrLf
Text5 = Text5 & "nombre:" & Nombre & vbCrLf
Text5 = Text5 & "correo:" & correo & vbCrLf
Text5 = Text5 & "comentario:" & txt & vbCrLf
textoincluido = txt
End If
End Sub
Los objetos k hay
4 text box
1ext box con multiline y scroll var vertical
1 boton
Feliz navidad
Valora esta pregunta


0