small little apps on the bottom of the taskbar,
You mean "pin to taskbar"?
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I've been making my own Shell for Windows and I am trying to make the small little apps on the bottom of the taskbar, like this.
I don't know how to make it though. Any suggestions for help? I will be using a PictureBox and a TextLabel on top.
Also, here's what the shell looks like so far [both taskbars]:
--
Thanks..
small little apps on the bottom of the taskbar,
You mean "pin to taskbar"?
Hi @Toby Winter ,
If you open other application from your application, then you can consider using Icon.ExtractAssociatedIcon(String) Method to get the icon of the application.
Then add the icon to your custom taskbar.
Try
' Start another application
Dim newProcess As Process = Process.start(appPath)
' Display its icon in the taskbar upon successful launch
If newProcess IsNot Nothing Then
' Retrieve the icon of the application
Dim appIcon As Icon = Icon.ExtractAssociatedIcon(appPath)
' Then add the icon to your custom taskbar
End If
Catch ex As Exception
MessageBox.Show("Unable to start the application: " & ex.Message)
End Try
Best Regards.
Jiachen Li
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.