Jump to content

Xml De Exe Dosyası Linki Atama


 Share

Recommended Posts

<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 by imcliff
Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

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 by Kazım
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...