Jump to content

Recommended Posts

Posted

Hi All, Another no doubt silly question. Just trying to pimp my GUI so that the icon at the top left/Desk top ICON/ Splash screen if thats what its called displays one of my ICONs. But read through the forum and cant seem to put it into practice. Any help would be greatly appreciated ;)

#include <GuiConstantsEx.au3>

#include <AVIConstants.au3>

#include <TreeViewConstants.au3>

#include <AD.au3>

#include <Outlook.au3>

#include <Excel.au3>

#include <ButtonConstants.au3>

#include <GuiTab.au3>

#AutoIt3Wrapper_Res_Icon_Add= ISS.ICO

#AutoIt3Wrapper_Res_Icon_Add= ISS.ICO

TraySetIcon("ISS.ico")

Global $LANID1234, $GATEWAY, $AVATAR, $FORENAME,$hGUI,$hTab_1, $getlan1, $SMPUSERPW, $sInitials , $sSurname

;===============GUI SECTION===========================================

Do

$pass = InputBox ("enter password", "Please enter your password","","*",150,80)

If $pass <> "coolio123" Then

MsgBox (1,"warning" , "Incorrect Password" & @CRLF & " Try Again")

EndIf

Until $pass == "coolio123"

GuiCreate("Identity Management", 600, 600)

$filemenu = GUICtrlCreateMenu("File")

$fileitem = GUICtrlCreateMenuItem("Password...", $filemenu)

GUICtrlSetOnEvent($fileitem, "pwstore")

Posted

I have no ideas for you while in script form, but when you go to compile the script with the included compiler, you can add an icon to your application, that will appear when ran as an executable.

My Contributions: Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time. RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry. 

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
×
×
  • Create New...