Application Bar update - Clearer Icons
Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
6 posts
Page 1 of 1
Hi,
OK I have made a small modification to the Application Bar which shows your shortcut icons without the annoying shortcut arrow on top of it so now they look nice crisp and clear like this:
![Image]()
It doesnt work on absolutely every icon though, shortcuts to like 'C:\' still show the arrow but im working on it.
OK to modify the code you need to find these 2 sections in the code:
. Compile and test it out. Any problems please let me know.
OK I have made a small modification to the Application Bar which shows your shortcut icons without the annoying shortcut arrow on top of it so now they look nice crisp and clear like this:

It doesnt work on absolutely every icon though, shortcuts to like 'C:\' still show the arrow but im working on it.
OK to modify the code you need to find these 2 sections in the code:
Code: Select all
Thats repeated twice in the code you already have. You need to replace those sections with the following code:Try
Using ico As Icon = Drawing.Icon.ExtractAssociatedIcon(line)
Dim s = ico.ToBitmap
w.Image = s
End Using
Catch
w.BackColor = Color.Aqua
End Try
Code: Select all
And thats it Try
Dim shortcut, starget As String
Dim oshelllink
Dim wsh As Object = CreateObject("WScript.Shell")
wsh = CreateObject("WScript.Shell")
shortcut = filename
oshelllink = wsh.CreateShortcut(shortcut)
starget = oshelllink.TargetPath
Using ico As Icon = Drawing.Icon.ExtractAssociatedIcon(starget)
Dim s = ico.ToBitmap
w.Image = s
End Using
Catch ex As Exception
Using ico As Icon = Drawing.Icon.ExtractAssociatedIcon(filename)
Dim s = ico.ToBitmap
w.Image = s
End Using
End Try

Im codenstuff.com...Im the moderator...iMBETA
this is so cool
i have a question tough, Can you make the bar transparent but not the icons to
i have a question tough, Can you make the bar transparent but not the icons to
You can find me on Facebook or on Skype mihai_92b
nice
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that 

6 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023