[ask] cara menutup aplikasi menggunakan VBScript?
Kamis, 05 Januari 2012 by ewepaksa
 Selamat membaca . Software Akuntansi Laporan Keuangan Terbaik  hi mastah2 smua.....newbie mau nanya nih cara menjalankan aplikasi atau menutup aplikasi menggunakan vbscript gmn yah emallui application IE ? ane udah dapet scriptnya tapi gagal melulu.....  membuka  	Code: 	<html> <head> <script type="text/vbscript"> Sub Run(ByVal sFile) Dim shell     Set bomb = CreateObject("WScript.Shell")     shell.Run Chr(34) & sFile & Chr(34), 1, false    Set bomb = Nothing End Sub Run "c:\duel.exe"  </script>  </head> <body>   </body> </html>  menutup 	Code: 	Set objShell = CreateObject("WScript.Shell") Set objWmi = GetObject("winmgmts:")   strWmiq = "select * from Win32_Process where name='duel.exe'" Set objQResult = objWmi.Execquery(strWmiq)   For Each objProcess In objQResult intRet = objProcess.Terminate(1) Next kok gagal terus yah..maklum gan cardinal masih newbie soal ginian...:YbJual Mobil Murah . Ultrabook Notebook Tipis Harga Murah Terbaik . Harga Notebook . 
Angga Sanusi
Angga Sanusi
Posting Komentar