troubleshooting Question

ShellListView.root := rfCommonPrograms

Avatar of f1star
f1star asked on
3 Comments1 Solution366 ViewsLast Modified:
Hi there
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

this means

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?

f1star :)

Eddie Shipman
All-around developer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros