Run program from html
Moderators: Moderatori ajutatori, Moderatori
-
- Fost moderator
- Posts: 2611
- Joined: 24 Jan 2012, 11:00
- Detinator Steam: Da
- SteamID: id/spryt3
- Reputatie: Fost Moderator
Fost Scripter eXtreamCS.com
1.2 / 3 - Location: root
- Has thanked: 81 times
- Been thanked: 144 times
- Contact:
Deci vreau un cod prin care cand dai click pe un buton/link sa imi execute un program in c++ (.cpp / exe )
- h4wk
- Fost moderator
- Posts: 3806
- Joined: 22 Sep 2009, 13:10
- Detinator Steam: Da
- Reputatie: Fost eXtream Mod
Nume anterior : DaZ , zimpe , Dan eXtream - Location: Iasi
- Has thanked: 306 times
- Been thanked: 321 times
- Contact:
Code: Select all
"Daca ai culoare nu inseamna ca esti mai presus ca un utilizator. Culoare e un fel de "rasplata" pentru ca te implici in "ridicarea" acestei comunitati.
Unii nu realizeaza ca daca ai culoare nu inseamna ca esti smecher." -- by Alexey
Spui ceva,dar faci altceva !
- HuaN
- Membru, skill +1
- Posts: 324
- Joined: 23 Oct 2012, 20:14
- Detinator Steam: Da
- Has thanked: 34 times
- Been thanked: 40 times
nu prea am inteles vrei ceva ca CGI (QPX) sau vrei sa rulezi un program deja instalat in calculator?
Code: Select all
CreateProcess("C:\Program Files\Windows NT\Pinball\PINBALL.EXE");
Citeste regulamentul. Data viitoare iei warn. ma si daca nu vreau?
-
- Fost moderator
- Posts: 2611
- Joined: 24 Jan 2012, 11:00
- Detinator Steam: Da
- SteamID: id/spryt3
- Reputatie: Fost Moderator
Fost Scripter eXtreamCS.com
1.2 / 3 - Location: root
- Has thanked: 81 times
- Been thanked: 144 times
- Contact:
Vreau cand apas pe un link gen Run sa imi ruleze un program din pc..Gen notepad..
-
- Fost administrator
- Posts: 13712
- Joined: 09 Oct 2010, 12:39
- Detinator Steam: Da
- CS Status: In grajd!
- SteamID: kalulord
- Reputatie: Fost Administrator
Fost membru Club eXtreamCS (6 luni)
Nume anterior: Terra - Location: Romania, Ploiesti
- Has thanked: 328 times
- Been thanked: 646 times
- Contact:
Code: Select all
<input type="button" value="Launch Installer" onclick="window.open('file:///C:/Windows/notepad.exe')" />
-
- Fost moderator
- Posts: 2611
- Joined: 24 Jan 2012, 11:00
- Detinator Steam: Da
- SteamID: id/spryt3
- Reputatie: Fost Moderator
Fost Scripter eXtreamCS.com
1.2 / 3 - Location: root
- Has thanked: 81 times
- Been thanked: 144 times
- Contact:
Imi downlodeaza programul..M0hikan wrote:Code: Select all
<input type="button" value="Launch Installer" onclick="window.open('file:///C:/Windows/notepad.exe')" />
-
- Fost administrator
- Posts: 13712
- Joined: 09 Oct 2010, 12:39
- Detinator Steam: Da
- CS Status: In grajd!
- SteamID: kalulord
- Reputatie: Fost Administrator
Fost membru Club eXtreamCS (6 luni)
Nume anterior: Terra - Location: Romania, Ploiesti
- Has thanked: 328 times
- Been thanked: 646 times
- Contact:
Testat si functioneaza, doar ca ruleaza in IE.Si mai ales calea catre fisier trebuie sa fie intotdeauna aceasi.
Code: Select all
<a href="javascript:LaunchApp()">Launch the executable</a>
<script>
function LaunchApp() {
var ws = new ActiveXObject("WScript.Shell");
ws.Exec("D:\\Adobe\\Adobe Photoshop CS5\\Photoshop.exe");
}
</script>
- sharkstar
- Membru, skill +4
- Posts: 1735
- Joined: 24 Dec 2012, 15:51
- Detinator Steam: Da
- CS Status: Rupetot
- SteamID: privat
- Location: Bucuresti
- Has thanked: 70 times
- Been thanked: 42 times
Ceea ce vrei tu sa faci nu merge. Poti faci in flash daca vrei si atunci va merge. Un browser nu va deschide niciodata un fisier de tip .exe[executabil].
-
- Information
-
Who is online
Users browsing this forum: aliNF, d e a l e r -, Dot [Bot], fentezzzzz, MDFK. eXtream, Yandex [Bot], zark and 366 guests