dynamic contect menu from directory structure
Posted on 2009-05-18
Should be simple, but I am drawing a blank. I would like to build a winform context menu off of traget folder from my system. So say I have folder [C:\something\] and within it there is the following:
I like to build the context menu to mimic the above showing just the file names or folder names. whenever it hits a sub folder i need a new node on the menu with more sub items.
VB 2K5 or C# - either would be fine.
thanks in advance.