I would like a ShellListview component to display all the program that appear in the start menu.
I can do this for win 2k and xp machines by using the code
ShellListView.root := rfCommonPrograms
however this does not work for win 98 and I haven't tested on win 98SE or win ME machines. However I need it to work universally no matter what operating system.
I have some code that can find out which operating system the user has and so therefore I can calll different code depending on the operating system. But I am not sure what code I can use to get the path that can be used for the shelllistview.root
I need the code that looks like this
if XP or Win 2k then ShellListView.root := rfCommonPrograms
else if win 98 then Shelllistview.root := ?
else if win 98 SE then Shelllistview.root := ?
else if win ME then Shelllistview.root := ?
can anyone help me?