avLa Posted April 6, 2013 Share Posted April 6, 2013 Programa resim ekliyorum fakat , sadece benim bilgisayarımda bu resim gösteriyor başkasında göstermiyor bunu nasıl düzeltebilirim yardım lütfen .? Quote Link to comment Share on other sites More sharing options...
reyiz Posted April 6, 2013 Share Posted April 6, 2013 (edited) Macro kullanmanız gerekir. Böylece her bilgisayarda aynı yoldan çalışacaktır.Mesela temp klasörü her bilgisayarda fark edebilir (kullanıcı adına göre). @TempDir kullanarak o bilgisayarın temp klasörünü kullanmış olursunuz. Bir örnek hazırladım: FileInstall("C:\Users\kullanici\Desktop\resim.bmp", @TempDir & "\resim.bmp")SplashImageOn("Splash Screen", @TempDir & "\resim.bmp", 250, 50) Resmi göstermek için kullanacağınız yöntem size bağlı. Edited April 6, 2013 by reyiz Quote Link to comment Share on other sites More sharing options...
mesale0077 Posted April 6, 2013 Share Posted April 6, 2013 (edited) help dosyasından FileInstall Macro Reference incelemeniz gerekiyor ayrıca kodunuzu paylaşsaydınız , daha iyi sorunu göreminiz iyi olurdu. mesala #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= FileInstall ( "9r889.jpg", @ScriptDir &"\9r889.jpg" ) $Form1 = GUICreate("[#] Form1 [#]", 623, 442, 192, 124) $Pic1 = GUICtrlCreatePic(@ScriptDir &"\9r889.jpg", 112, 80, 385, 273) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Edited April 6, 2013 by mesale0077 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.