• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Add Taskbar icon to .vbs


#1
Hi,
I have created a VBS file, when i open it in the taskbar i get the standard 'Icon Missing' Type icon in the taskbar, and was wondering how to change it to a custom icon, like the one bellow (from my school)
All help appreciated.
School Log Off.png
 

My Computer

System One

  • OS
    Windows 10 Enterprise 64-bit
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    PCS Custom
    CPU
    Intel Core i7 4790
    Motherboard
    Asus H-81 Gamer
    Memory
    16GB DDR3 Kingston 1600Mhz
    Graphics Card(s)
    Nvidia GeForce GTX 960
    Sound Card
    Asus SupremeFX
    Monitor(s) Displays
    2x Acer S271HL HD Monitor
    Screen Resolution
    3840x1080 (1920x1080)
    Hard Drives
    1x Seagate 1TB 2.5" HDD
    1x HyperX Savage 240GB SSd
    PSU
    Corsair VS450
    Case
    InWin 703
    Cooling
    Noctua NH-D15 CPU, 2x Noctua NF-F12
    Keyboard
    Razer Blackwidow X Chroma
    Mouse
    Logitech Performance MX
    Internet Speed
    100 Mb/s Download and 6 Mb/s Upload
    Browser
    Google Chrome
    Antivirus
    Windows Defender

Berton

New Member
Power User
Forever West

Posts
591
#2
Did you try creating an actual shortcut to the .vbs file then right-clicking it and choosing Properties then Change icon? The icon you want to use has to be on the HDD in a Folder, usually in the same Folder as the file, and you'd choose that icon. It's best to save the icon as a .ico file and adhere to the size limit for it, can't be very large. Most icons associated with programs are embedded in their .exe file, maybe in a .dll file.
 

My Computer

System One

  • OS
    WinVista, Win7, Win8.1, Win10, Mac OS X 10.10, Linux Mint 17.1
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    2 Customs and 3 OEM/Brands
    CPU
    AMD and Intel
#3
I have done this, the shortcut is what is opened, the icon is in the same folder as both the vbs and the shortcut.
How would I convert to an exe or use dll's
 

My Computer

System One

  • OS
    Windows 10 Enterprise 64-bit
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    PCS Custom
    CPU
    Intel Core i7 4790
    Motherboard
    Asus H-81 Gamer
    Memory
    16GB DDR3 Kingston 1600Mhz
    Graphics Card(s)
    Nvidia GeForce GTX 960
    Sound Card
    Asus SupremeFX
    Monitor(s) Displays
    2x Acer S271HL HD Monitor
    Screen Resolution
    3840x1080 (1920x1080)
    Hard Drives
    1x Seagate 1TB 2.5" HDD
    1x HyperX Savage 240GB SSd
    PSU
    Corsair VS450
    Case
    InWin 703
    Cooling
    Noctua NH-D15 CPU, 2x Noctua NF-F12
    Keyboard
    Razer Blackwidow X Chroma
    Mouse
    Logitech Performance MX
    Internet Speed
    100 Mb/s Download and 6 Mb/s Upload
    Browser
    Google Chrome
    Antivirus
    Windows Defender