✅ Pin app to Taskbar
Hello, i'd like to pin the
osk.exe
to my taskbar using c#.
have you any idea how i can do it ?
Currently i found out there was a folder which contain all the shorcut related to the taskbar but when i paste a shorcut in it, nothing new is displayed on my taskbar but it works when i do it manually with right click etc.
folder : C:\Users\"username"\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar
There is only my spotify app which is not in this folder and i don't know why and where windows store his shorcut.3 Replies
Maybe you can use this?
https://learn.microsoft.com/en-us/windows/apps/design/shell/pin-to-taskbar
Pin your app to the taskbar - Windows apps
You can programmatically pin your app to the taskbar, bnd you can check if it's currently pinned.
i do not managed to find the package Windows.UI.Shell related to taskbarmanager
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.