Results 1 to 13 of 13

Thread: Clear Recent History List In VB6

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2000
    Posts
    20

    Question

    May be a silly question, but how do you clear the recent file list in vb6 as in file - open - recent tab????

  2. #2
    Frenzied Member Technocrat's Avatar
    Join Date
    Jan 2000
    Location
    I live in the 1s and 0s of everyones data streams
    Posts
    1,024
    God only knows why you want to do this but:

    That list only holds so many apps, you could open a bunch of other apps until your previous ones are removed from the list.

    Or its in the registry
    HKEY_CURRENT_USER\Software\Microsoft\Visual Basic\6.0\RecentFiles
    MSVS 6, .NET & .NET 2003 Pro
    I HATE MSDN with .NET & .NET 2003!!!

    Check out my sites:
    http://www.filthyhands.com
    http://www.techno-coding.com


  3. #3
    Fanatic Member
    Join Date
    Jan 2000
    Location
    Mobile, AL, USA
    Posts
    600

    Arrow A VB-World tip.

    Check out this link: http://www.vb-world.net/tips/tip98.html

    I should warn you, you must be careful when tinkering with the registry, because you can really screw up your computer. You may want to back it up (Select Registry, Export Registry File) before altering it, just in case.

    All the best.

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Sep 2000
    Posts
    20

    Talking

    That works! Thanks!!! My recent list had reference to projects that have been moved to other locations. I had 29 recent's in my listing. Just wanted to slim the list down a bit.

  5. #5
    New Member
    Join Date
    Oct 2000
    Location
    Posts
    1
    Please visit http://www.zealsoftstudio.com/vbrecent/ to download a free utility to edit the RecentFiles list.

  6. #6
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,961

    Re: Clear Recent History List In VB6

    Technocrat do you know the key name of the "HKEY_CURRENT_USER\Software\Microsoft\Visual Basic\6.0\RecentFiles" on registry?
    i don't have it
    VB6 2D Sprite control

    To live is difficult, but we do it.

  7. #7
    PowerPoster
    Join Date
    Nov 2017
    Posts
    3,632

    Re: Clear Recent History List In VB6

    1. You now have multiple threads where you are asking the same question. Totally unnecessary.

    2. This thread is almost 20 years old.

    3. You are asking for the key name of the key you just referenced, which makes no sense. It's like asking "What is the name of the movie Titanic?"

    4. We have no idea why that key may or may not exist on your PC. Of all of the people on this forum, only one person sits in front of your computer and can look at what is going on on it, and that person is you.

    5. That key exists on my PC and contains a valid list of recent projects. Perhaps you need to do some testing on your own with something like Process Monitor and then search through the results of what is captured to see if VB6 is ever writing values into that key, or what is removing values from that key.

  8. #8
    Sinecure devotee
    Join Date
    Aug 2013
    Location
    Southern Tier NY
    Posts
    6,598

    Re: Clear Recent History List In VB6

    Quote Originally Posted by joaquim View Post
    Technocrat do you know the key name of the "HKEY_CURRENT_USER\Software\Microsoft\Visual Basic\6.0\RecentFiles" on registry?
    i don't have it
    I have that key as well, and there are 50 files on the list.
    Perhaps you haven't done enough work in VB6, since you just recently installed it, to have history yet?

    If you follow the key name down the hierarchy in the Registry Editor, at what point does it stop, at "Visual Basic" or at "6.0", ?
    You didn't, per chance, skip the Software level, and started down the "HKEY_CURRENT_USER\Microsoft" branch, or some other branch along the way?
    "Anyone can do any amount of work, provided it isn't the work he is supposed to be doing at that moment" Robert Benchley, 1930

  9. #9
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,961

    Re: Clear Recent History List In VB6

    i created the folder: "HKEY_CURRENT_USER\Software\Microsoft\Visual Basic\6.0\RecentFiles" registry folder... but i don't know the key default for the recent projects list be created... i need create the default key
    VB6 2D Sprite control

    To live is difficult, but we do it.

  10. #10
    Sinecure devotee
    Join Date
    Aug 2013
    Location
    Southern Tier NY
    Posts
    6,598

    Re: Clear Recent History List In VB6

    You shouldn't have to create the registry folder. Once you edited a few projects in VB6 for a given user, it should have been created and maintained by the VB IDE.
    When you run VB6, if you go to the Recent tab, are you saying you have no recent projects listed.

    Since you're on Windows 10, did you set VB6 to run with Administrative privileges. Perhaps that is preventing the Registry updates, although since this is a CURRENT_USER key, I wouldn't think that would require admin privileges.
    But my understanding is, that the VB IDE needs to run with Admin privileges in order to work 100% correctly. Although, I think if you stick with the standard controls, it works reasonably well without elevated privileges.

    Like I said, if I look at that key, then there are 50 names, not including (Default) at that Key. The first few look like this:
    Code:
    Name                        Type               Data
    (Default)                   REG_SZ             (value not set)
    1                           REG_SZ             C:\c\vother\Elroy\FindItTest\Project1.vbp
    10                          REG_SZ             C:\c\VB98\PerpendicularLine.vbp
    11                          REG_SZ             C:\c\VB98\map.vbp
    12                          REG_SZ             C:\c\jumble.vbp
    It isn't something you should create, it should be created by the IDE.
    So, you don't have anything listed in your Recent tab of the "New Projects" dialog when you start VB6?

    p.s. checking the Recent tab in the IDE, the files listed there don't match the ones that are the above key. Some match, but the more recent ones are not at that key, so the recent list in the IDE, must be maintain somewhere else. Also the ones in the IDE don't match the ones that are listed when you right click on the startup icon in the start menu, so that might be some other list (probably a list of the projects started by doubleclicking on the project file in Windows Explorer).
    Last edited by passel; Apr 26th, 2020 at 06:53 PM.
    "Anyone can do any amount of work, provided it isn't the work he is supposed to be doing at that moment" Robert Benchley, 1930

  11. #11
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,961

    Re: Clear Recent History List In VB6

    1 - yes the Recent Project List is empty;
    2 - yes i run the VB6 with Administrator privileges and Windows XP SP2 compatible;
    3 - yes the Windows Explorer, on right mouse click, give me the last open files.
    is there any add-in for the Recent Projects without use the Registry?
    VB6 2D Sprite control

    To live is difficult, but we do it.

  12. #12
    PowerPoster
    Join Date
    Nov 2017
    Posts
    3,632

    Re: Clear Recent History List In VB6

    Quote Originally Posted by joaquim View Post
    is there any add-in for the Recent Projects without use the Registry?
    Highly unlikely, since the built in "Recent projects" functionality seems to be working fine for everyone except you. An earlier post mentioned ccleaner, and you confirmed you use it. I've never used it so I can't comment on how to manage it, but have you done any testing to see if it is ccleaner that is causing this problem?

  13. #13
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,961

    Re: Clear Recent History List In VB6

    i don't know what is causing these problem... what i know is: i'm using it on Windows 10.
    on Windows 7 i uninstall it and then reinstall it... but if i install above instead uninstall isn't the same?
    yes i reinstall it, but the problem remains and i use the SP6 tooo
    VB6 2D Sprite control

    To live is difficult, but we do it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width