My program will come with a directory called "tools" and users will be able to place .lnk files in there and the file name will show up as a sub-button on the tool bar, and when clicked, will open the file.
This is more advanced than anything I have learned so far, so I need help accomplishing this.
So far i have simply this:
var files = Directory.GetFiles(Dir + @"tools\").Where(name => name.EndsWith(".lnk"));
foreach (String file in files)
{
//create a button for each file
}

New Topic/Question
Reply



MultiQuote



|