S
Stan Sainte-Rose
Hi guys,
I would like to run a vbs script from an asp page.
I ve tried many directions but no one works..
The first was :
Dim oShell
Set oShell = Server.CreateObject("WSCript.shell")
i=oShell.run
("w:\wwwroot\look\j_consultation\j06_suivi\modules_stan\GenPDF.vbs 1 2 23,25
byAffaire N 1 FR (e-mail address removed)" )
Set oShell = Nothing
The second used AspExec componant
Set Executor = Server.CreateObject("ASPExec.Execute")
Executor.Application =
"w:\wwwroot\look\j_consultation\j06_suivi\modules_stan\GenPDF.vbs"
Executor.Parameters = "1 2 23,25 byAffaire N 1 FR (e-mail address removed)"
resultat=Executor.ExecuteWinApp
Thanks for your help
Stan
I would like to run a vbs script from an asp page.
I ve tried many directions but no one works..
The first was :
Dim oShell
Set oShell = Server.CreateObject("WSCript.shell")
i=oShell.run
("w:\wwwroot\look\j_consultation\j06_suivi\modules_stan\GenPDF.vbs 1 2 23,25
byAffaire N 1 FR (e-mail address removed)" )
Set oShell = Nothing
The second used AspExec componant
Set Executor = Server.CreateObject("ASPExec.Execute")
Executor.Application =
"w:\wwwroot\look\j_consultation\j06_suivi\modules_stan\GenPDF.vbs"
Executor.Parameters = "1 2 23,25 byAffaire N 1 FR (e-mail address removed)"
resultat=Executor.ExecuteWinApp
Thanks for your help
Stan