NoobAccountant Posted April 24, 2010 Share Posted April 24, 2010 Ben exe leri halettim ama mesela disk yöneticisini çalıştırmak istiyorum ama uzantısı exe olmadığı için çalışmıyor.Nasıl çalıştırabilirim? Link to comment Share on other sites More sharing options...
MostWanted Posted April 24, 2010 Share Posted April 24, 2010 File.Open la çalıştırabilirsin.. Link to comment Share on other sites More sharing options...
KintaRo Posted April 24, 2010 Share Posted April 24, 2010 şu kod bilgisayarım özellikleri açar. sysdm.cpl kısmını hangi denetim masası öğresini açmak istiyorsan ona göre değiştir. Shell.Execute("control.exe", "open", "sysdm.cpl", _SystemFolder, SW_SHOWNORMAL, false)[/CODE] Link to comment Share on other sites More sharing options...
NoobAccountant Posted April 24, 2010 Author Share Posted April 24, 2010 File.Run("taskmgr.exe", "", _SystemFolder, SW_SHOWNORMAL, false)[/CODE] Buna benzer bi yazılışımı temel alayım peki? Link to comment Share on other sites More sharing options...
KintaRo Posted April 24, 2010 Share Posted April 24, 2010 Evet onla Exe leri, özel dosyalar içinde shell.execute kullanmalısın. Aşağıdaki komut disk yöneticisini açar Shell.Execute("DISKMGMT.MSC", "open", "", _SystemFolder, SW_SHOWNORMAL, false)[/CODE] Edit: talha'nın dediği gibi File.Open'da aynı işi yapıyor.. [CODE]File.Open("DISKMGMT.MSC", _SystemFolder, SW_SHOWNORMAL)[/CODE] Link to comment Share on other sites More sharing options...
NoobAccountant Posted April 24, 2010 Author Share Posted April 24, 2010 Evet onla Exe leri, özel dosyalar içinde shell.execute kullanmalısın. Aşağıdaki komut disk yöneticisini açar Shell.Execute("DISKMGMT.MSC", "open", "", _SystemFolder, SW_SHOWNORMAL, false)[/CODE] Edit: talha'nın dediği gibi File.Open'da aynı işi yapıyor.. [CODE]File.Open("DISKMGMT.MSC", _SystemFolder, SW_SHOWNORMAL)[/CODE] File.Run ile aynı yazdığınız gibi yaptı ama tıkladığımda çalışmadı Link to comment Share on other sites More sharing options...
KintaRo Posted April 24, 2010 Share Posted April 24, 2010 File.Run değil File.Open olcak az önce yanlış yazmışım düzelttim. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.