korasoglu Posted August 23, 2013 Share Posted August 23, 2013 result = File.Run("AutoPlay\\Docs\\MyProg.exe", "", "", SW_SHOWNORMAL, false); false değeri true olunca bekliyecektir. Quote Link to comment Share on other sites More sharing options...
byhabit Posted August 23, 2013 Author Share Posted August 23, 2013 result = File.Run("AutoPlay\\Docs\\MyProg.exe", "", "", SW_SHOWNORMAL, false); false değeri true olunca bekliyecektir. Teşekkürler çok güzel oldu. denedim çalışıyor Quote Link to comment Share on other sites More sharing options...
reyiz Posted August 23, 2013 Share Posted August 23, 2013 Her File.Run altında Dialog.Message yazmalısın. Gerek yok. if komutunun sonuna yazması yeterli. if komutu işlendikten sonra if den sonra gelen satır çalışacaktır. Quote Link to comment Share on other sites More sharing options...
byhabit Posted August 24, 2013 Author Share Posted August 24, 2013 Gerek yok. if komutunun sonuna yazması yeterli. if komutu işlendikten sonra if den sonra gelen satır çalışacaktır. şu an bi sıkıntım yok ama dediğin yöntemi merak ettim bir örnek verebilirmisin müsait olunca Quote Link to comment Share on other sites More sharing options...
reyiz Posted August 24, 2013 Share Posted August 24, 2013 os = System.GetOSName(); if os == "Windows XP" then File.Run(_SourceFolder.."\\XP.exe", "", "", SW_SHOWNORMAL, true); elseif os == "Windows 7" then if not System.Is64BitOS() then File.Run(_SourceFolder.."\\x86.exe", "", "", SW_SHOWNORMAL, true); else File.Run(_SourceFolder.."\\x64.exe", "", "", SW_SHOWNORMAL, true); end end Dialog.Message("Bilgi", "Kurulum tamamlandı.", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1); Sıkıntı yoksa kalsın o zaman. Quote Link to comment Share on other sites More sharing options...
ugur4721 Posted August 24, 2013 Share Posted August 24, 2013 ben buna benzer kodu toplu aktivasyon için yaptığım projede kullandım işletim sistemini buluyor hangisiyse ona göre öneri yapıyordu 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.