Thanks howardpc. I've tried to adapt your code to mine but I can not get it to add the menu items. Can you take, or anyone for that matter, the attached project and let me know where I am going wrong?
wyckermain is where I am trying to do this. When the form is created, I read in an INI file. When it determines that the Mailer section is "Active" (Line 289 of wyckermain) it enables the menu item on the wyckerviewer form. At line 300 I attempt to incorporate your code to create the menu items for the existing IP_#.LOG files, if any exist, which they do on my system. I added your procedure, AddLogFIlesToMenu, in the implementation section of wyckermain. The program builds fine, it compiles fine, but no sub menu items are created on the wyckerviewer form under the IP Session Log section of the Argus (And Clones) menu item.
Thanks in advance!