Jump to content

Resim Ekleme


avLa
 Share

Recommended Posts

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

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 by mesale0077
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...