Access Taskbar PinList from VB.net in Windows 7?

  • Follow


Does anyone know how to get a list from all the taskbar pinned programs 
and they order from VB.net? maybe using the win7 taskbar API's ?

I had found an article to check if a certain program is pinned or not, 
and i know that pinned items are stored as ".lnk" in the users folder, 
but that does not help me to determine the order?

anyone knows if its possible trough api calls?
0
Reply Christian 12/15/2009 11:03:27 PM

On Dec 15, 6:03=A0pm, Christian Reizlein <creizl...@hotmail.com> wrote:
> Does anyone know how to get a list from all the taskbar pinned programs
> and they order from VB.net? maybe using the win7 taskbar API's ?
>
> I had found an article to check if a certain program is pinned or not,
> and i know that pinned items are stored as ".lnk" in the users folder,
> but that does not help me to determine the order?
>
> anyone knows if its possible trough api calls?

Hello -

I assume you checked somewhere like C:\Users\%USERNAME%\AppData\Roaming
\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar?

Did you check the registry if there is anything to specify the order?

You can also check out http://www.codeproject.com/KB/shell/taskbarsorter.as=
px
which discusses the API interface to the taskbar.  This does not
include Windows 7 but it might be a good starting point.

Joe
0
Reply Joe 12/21/2009 2:31:00 PM


On 12/21/2009 12:31, Joe Duchtel wrote:
> On Dec 15, 6:03 pm, Christian Reizlein<creizl...@hotmail.com>  wrote:
>> Does anyone know how to get a list from all the taskbar pinned programs
>> and they order from VB.net? maybe using the win7 taskbar API's ?
>>
>> I had found an article to check if a certain program is pinned or not,
>> and i know that pinned items are stored as ".lnk" in the users folder,
>> but that does not help me to determine the order?
>>
>> anyone knows if its possible trough api calls?
>
> Hello -
>
> I assume you checked somewhere like C:\Users\%USERNAME%\AppData\Roaming
> \Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar?
>
> Did you check the registry if there is anything to specify the order?
>
> You can also check out http://www.codeproject.com/KB/shell/taskbarsorter.aspx
> which discusses the API interface to the taskbar.  This does not
> include Windows 7 but it might be a good starting point.
>
> Joe

Joe, thanks for your reply, i did check that folder, but again that does 
not reference the order, but that second article is of good use, i will 
give it a try and see what i can come across.

Regards,
Christian
0
Reply Christian 12/22/2009 8:01:25 PM

2 Replies
566 Views

(page loaded in 0.417 seconds)


Reply: