Discussion Locked

Visual basic

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I would like to know how to clear a dialog box which shows the list of accessed programs when you select open project from file menu and click on recent tab which file is responsible for showing the details

5 replies

by p7ants

The values you seek are stored in the Registry. On my machine I found them here:

HKEY_CURRENT_USER\Software\Microsoft\Visual Basic\6.0\RecentFiles

To find yours run the "Regedit" program and search for a file that shows up in the recent tab of the open project dialog box.

Now the fun begins. VB provides a "DeleteSetting" statement, but alais this only works on the key - "HKEY_CURRENT_USER\Software\VB and VBA Program Settings\". So, if you what this done you can use an API call.

There are several books on the subject. Dan Appleman (sp?) is the Guru here.

Phil

by mohammad_m_saggaf

From the Start menu -> Run RegEdit
then go to HKEY_CURRENT_USER\Software\Microsoft\Visual Basic\6.0\RecentFiles
(assuming that the VB is version 6.0)
And delete all the entries in the right side and then start VB to see that all the entries in the list are gone.

I hope I helped.

This discussion is closed to new replies.