codice:
<%@ Page Language="VB" %>
<%@ import Namespace="System" %>
<%@ import Namespace="System.Diagnostics" %>
<%@ import Namespace="System.ComponentModel" %>
<%@ import Namespace="netlib" %>
<script runat="server">
Sub Page_Load()
Dim MyProcess as Process = New Process
'Dim myProcess As Process = New Process()
MyProcess.StartInfo.FileName = "C:\gs\gs8.00\bin\gswin32c.exe"
MyProcess.StartInfo.Arguments = "-dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sPaperFormat=A4 -sOutputFile=testa.pdf prova.eps"
MyProcess.Start()
Dim Var as new aspnet.testo
response.write(Var.popup("File Creato"))
End Sub
</script>