Add Taskbar icon to .vbs

calcor

Member
Messages
43
Location
United Kingdom
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 11 Pro 64-bit
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom
    CPU
    AMD Ryzen 7 3700X Eight Core CPU (3.6GHz-4.4GHz/36MB CACHE/AM4)
    Motherboard
    ASUS® ROG STRIX X570-F GAMING (USB 3.2 Gen 2, PCIe 4.0)
    Memory
    32GB Corsair VENGEANCE DDR4 3200MHz (4 x 8GB)
    Graphics Card(s)
    Nvidia GeForce RTX 3070Ti
    Monitor(s) Displays
    Philips 32:9 SuperWide curved LCD display 499P9H/00
    Screen Resolution
    5120 x 1440
    Hard Drives
    500GB SAMSUNG 970 EVO PLUS M.2, PCIe NVMe
    2TB Crucial SSD
    2TB SanDisk SSD
    1TB Cruciaul SSD
    240GB HyperX SSD
    PSU
    CORSAIR 850W RMx SERIES™ MODULAR 80 PLUS® GOLD
    Case
    PHANTEKS ECLIPSE P400 AIR MIDI TOWER CASE - BLACK
    Cooling
    BeQuiet Dark Rock 4
    Keyboard
    Logitech MX Keys
    Mouse
    Logitech MX Master 3
    Internet Speed
    350 Mb/s Download and 35 Mb/s Upload
    Browser
    Google Chrome
    Antivirus
    Bitdefender Endpoint Security
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
    WinXP, WinVista, Win7, Win8.1, Win10, Linux Mint 20
    Computer type
    PC/Desktop
    System Manufacturer/Model
    2 Customs and 12 OEM/Brands
    CPU
    AMD and Intel
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 11 Pro 64-bit
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom
    CPU
    AMD Ryzen 7 3700X Eight Core CPU (3.6GHz-4.4GHz/36MB CACHE/AM4)
    Motherboard
    ASUS® ROG STRIX X570-F GAMING (USB 3.2 Gen 2, PCIe 4.0)
    Memory
    32GB Corsair VENGEANCE DDR4 3200MHz (4 x 8GB)
    Graphics Card(s)
    Nvidia GeForce RTX 3070Ti
    Monitor(s) Displays
    Philips 32:9 SuperWide curved LCD display 499P9H/00
    Screen Resolution
    5120 x 1440
    Hard Drives
    500GB SAMSUNG 970 EVO PLUS M.2, PCIe NVMe
    2TB Crucial SSD
    2TB SanDisk SSD
    1TB Cruciaul SSD
    240GB HyperX SSD
    PSU
    CORSAIR 850W RMx SERIES™ MODULAR 80 PLUS® GOLD
    Case
    PHANTEKS ECLIPSE P400 AIR MIDI TOWER CASE - BLACK
    Cooling
    BeQuiet Dark Rock 4
    Keyboard
    Logitech MX Keys
    Mouse
    Logitech MX Master 3
    Internet Speed
    350 Mb/s Download and 35 Mb/s Upload
    Browser
    Google Chrome
    Antivirus
    Bitdefender Endpoint Security
Back
Top