imcliff Posted September 17, 2013 Share Posted September 17, 2013 (edited) <photo> <thumbnail>s_loltr.png</thumbnail> <filename>loltr.jpg</filename> <description><![CDATA[<p class="subtitle">LEAGUE OF LEGENDS TR</p><p><a href="file:\\\C:\omr\oku6300.exe" target="_parent">OYNA</a></description> </photo> arkadaşlar şöyle bir kod düzenledim ama ben "href" komutu yerine bilgisayarımdaki bir dosyayı gösterecek ve o dosyayı açacak komutu bulamadım :( bana yardımcı olabilir misiniz? her şey güzel çalışıyor ama bana bu dosya sanki webden inecekmiş gibi internet explorer açılıp kaydet ya da çalıştır diyor. bana direkt bişe sormadan nasıl çalışacağı konusunda yardımcı olur musunuz? Edited September 17, 2013 by imcliff Quote Link to comment Share on other sites More sharing options...
imcliff Posted September 18, 2013 Author Share Posted September 18, 2013 Arkadaşlar link çalışıyor ama explorer indirme penceresi geliyor aç-kaydet-iptal diyor ben direkt sormadan açılması için ne yapmam gerekiyor diye araştırıyorum. Böyle bir şey imkansız mı bilen varsa söyleyebilir mi boşuna uğraşmayayım :) Quote Link to comment Share on other sites More sharing options...
Bitmap Posted September 18, 2013 Share Posted September 18, 2013 (edited) Sadece internet explorer için bir yöntem var o da Activex/COM Nesneleri aracılığıyla yapılıyor. şu şekilde. function Run(path){ obj = new ActiveXObject("WScript.Shell"); obj.run(path); } <a> tagının "onclick" event'ında "run("Uygulama yolu")" şeklinde çalıştırısan çalışır.. Edited September 18, 2013 by Kazım Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.