faire un appel a une application en ASP.net
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| Imports System.Collections.Generic
Imports System.Boolean
Imports System.Timers
Partial Class Default5
Inherits System.Web.UI.Page
Protected Sub dButton2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles dButton2.Click
WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run("calc.exe")
WScript.Sleep(200)
WshShell.AppActivate("Calculatrice")
End Sub
End Class |
j ai essayé se code mais il n affiche rien
help me