Start MRU
In wm6.5, the start menu has all the link files listed in registry as keys like this and then these keys have values for : icon, rank, etc.
I'm having trouble accessing the registry keys that are named similiar to this:
Activesync.lnk
I need to access values within like these:
HKLM\Security\Shell\StartInfo\Start\Activesync.lnk\rank
"rank" is the list order for how start menu items are displayed and I'm writing a configuration app for rearranging the start menu easily.
If the key has then ".lnk" extention in name, then I get an error, other keys for start menu folders("Games","Tools", etc) I have no problems with. This is a sample line of how I'm reading the values.(they are dword) Ranks is a list box for listing the rank numbers, SubFolder is the list box of all available directories(.lnk variety) under the Start key. I place the normal start menu folders into a different arraylist when parsing subkeys of Start, and that part works fine using similiar code.
Is basic4ppc not able to read values in keys named with extentions or am I missing it? I use mortscript some and it reads the same keys without issues, but I don't like mixing mortscript in if I can help it.
In wm6.5, the start menu has all the link files listed in registry as keys like this and then these keys have values for : icon, rank, etc.
I'm having trouble accessing the registry keys that are named similiar to this:
Activesync.lnk
I need to access values within like these:
HKLM\Security\Shell\StartInfo\Start\Activesync.lnk\rank
"rank" is the list order for how start menu items are displayed and I'm writing a configuration app for rearranging the start menu easily.
If the key has then ".lnk" extention in name, then I get an error, other keys for start menu folders("Games","Tools", etc) I have no problems with. This is a sample line of how I'm reading the values.(they are dword) Ranks is a list box for listing the rank numbers, SubFolder is the list box of all available directories(.lnk variety) under the Start key. I place the normal start menu folders into a different arraylist when parsing subkeys of Start, and that part works fine using similiar code.
B4X:
Ranks.Add=reg.GetInt("Security\Shell\StartInfo\Start\"&SubFolder.Item(i),"Rank")
Is basic4ppc not able to read values in keys named with extentions or am I missing it? I use mortscript some and it reads the same keys without issues, but I don't like mixing mortscript in if I can help it.
Last edited: