Edit the taskbar settings with code
If you right click the taskbar in windows and choose "properties", there are a couple of setting for you to edit. How is it possible to edit these with visual basic .net code? Im particularly interested in the "always put the taskbar on top" setting (might not be the exact name of the setting, but i have a swedish version of windows so im guessing the english label here :) ).
I've been searching for a regedit entry for these setting with no luck.
Thanks in advance
Re: Edit the taskbar settings with code
Re: Edit the taskbar settings with code
Thank you iPrank for your answer.
But I get the same error as the guy in the second link. He said he solved it buy passing something in by reference but i dont know what reference to add. Too bad i dont have an expert exchange account so i could pm the guy. Any ideas? The link
Re: Edit the taskbar settings with code
as he says in that last post it didn't like ByVal parameter for pData:
VB Code:
Private Declare Function SetAppBarMessage Lib "shell32" Alias "SHAppBarMessage" _
(ByVal dwMessage As Integer, [B]ByRef[/B] pData As APPBARDATA) As Integer
Re: Edit the taskbar settings with code
Okay! Great :) Thanks alot both