Jump to content

Icon


 Share

Recommended Posts

How make icon show when open my program

i no wanna Write Name Folder the icon can help me Guys?

Code is

#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
ToolTip("C:\Users\Hero\Desktop\aa.ico" ,500,300)
sleep(500)
$Form2 = GUICreate("Form2", 405, 296, 518, 267)
$Pic1 = GUICtrlCreatePic("G:\Picture\An-Picture\aa.jpg", 16, 48, 348, 100)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
  Case $GUI_EVENT_CLOSE
   Exit
EndSwitch
WEnd
Link to comment
Share on other sites

Look at FileInstall() or my Resources UDF (link in my signature).

No work too

#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
FileInstall("C:UsersHeroDesktops.bmp", "D:s.bmp")
$Form2 = GUICreate("Form2", 405, 296, 518, 267)
$Pic1 = GUICtrlCreatePic("G:PictureAn-Pictureaa.jpg", 16, 48, 348, 100)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
  Case $GUI_EVENT_CLOSE
   Exit
EndSwitch
WEnd
Edited by CryHero
Link to comment
Share on other sites

FileInstall("C:UsersHeroDesktops.bmp", @ScriptDir & "s.bmp")
$Form2 = GUICreate("Form2", 405, 296, 518, 267)
$Pic1 = GUICtrlCreatePic(@ScriptDir & "s.bmp", 16, 48, 348, 100)

not too all say

>"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "C:UsersHeroDesktopNew AutoIt v3 Script.au3" /UserParams

+>18:22:15 Starting AutoIt3Wrapper v.2.1.0.33 Environment(Language:0409 Keyboard:00000409 OS:WIN_7/ CPU:X64 OS:X64)

>Running AU3Check (1.54.22.0) from:C:Program Files (x86)AutoIt3

+>18:22:15 AU3Check ended.rc:0

>Running:(3.3.8.1):C:Program Files (x86)AutoIt3autoit3.exe "C:UsersHeroDesktopNew AutoIt v3 Script.au3"

--> Press Ctrl+Alt+F5 to Restart or Ctrl+Break to Stop

+>18:22:16 AutoIT3.exe ended.rc:0

>Exit code: 0 Time: 2.333

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...