Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

'new' option in contextmenu opens very slow

0 views
Skip to first unread message
Message has been deleted

Michael Zap

unread,
May 27, 2001, 3:04:49 AM5/27/01
to
Yeah! What's up with that? I hate that!

Arguich811 <argui...@yahoo.co.uk> escribió en el mensaje de noticias
#XF7Xje5AHA.2056@tkmsftngp04...
> When I choose 'New' from the context menu that appears when
right-clicking
> the desktop, the submenu appears only after a delay of 8 seconds. Does
> anyone know what causes this and how to make this submenu appear faster?
>
> Regards,
>
> Armand
>
>


Chris Van Extergem

unread,
May 28, 2001, 7:55:52 AM5/28/01
to
"Arguich811" <argui...@yahoo.co.uk> wrote in message
news:#XF7Xje5AHA.2056@tkmsftngp04...

> When I choose 'New' from the context menu that appears when
right-clicking
> the desktop, the submenu appears only after a delay of 8 seconds. Does
> anyone know what causes this and how to make this submenu appear faster?

That's because Windows has to scan the registry (well, one or two Hkeys
anyway) to find all file types that have a key that says it should be
included in the new contextmenu.
So, as the registry grows, this will take a longer time. I don't know of
anything that can be done to speed this up, except to uninstall programs and
delete their file extensions from the registry.

HTH

Chris


Message has been deleted

Paul Chitescu

unread,
May 29, 2001, 7:40:37 AM5/29/01
to
"Arguich811" <argui...@yahoo.co.uk> wrote in message
news:OtOmd0C6AHA.1872@tkmsftngp07...
> Hi Chris,
>
> Thanks for the reply, but I don't think the size of the registry is the
> cause: My registry is not much larger than it was when I ran win95, and I
> never had problems with it then.
>
> It is frustrating because even when I accidentally hover over it, my
systems
> freezes completely (for 8 secs). Do you know if there is perhaps another
> newsgroup where I can (re)post this question?
>
> Regards,
>
> Armand

You may have a Registry key or a template pointing to removable media
(floppy or CD-ROM) or to a disconnected network drive or path.

It is also possible that one of the extensions require loading a huge set of
DLLs just to have it listed. I hate programmers who write such stupid code
but they are *so* common...

--
Paul Chitescu
pchi...@pchitescu.myip.org pchi...@MetroNet.RO.EU.org
http://pchitescu.myip.org/ http://PaulC.MetroNet.RO.EU.org/
ICQ:22641673


Chris Van Extergem

unread,
May 29, 2001, 8:30:55 AM5/29/01
to
"Arguich811" <argui...@yahoo.co.uk> wrote in message
news:OtOmd0C6AHA.1872@tkmsftngp07...
> Hi Chris,
>
> Thanks for the reply, but I don't think the size of the registry is the
> cause: My registry is not much larger than it was when I ran win95, and I
> never had problems with it then.

Surely you have installed some apps wich might or might not have their own
file type ?

I've done some reverse engineering for you, here's the mechanism Windows
uses to construct the 'New' submenu :

First have a look (with regedit) at HKEY_CLASSES_ROOT. Do you see all those
entries starting with a period (like .386, .bmp, etc.) ? These are all
extensions known to your system. Every installed app which has is own
extension(s) has to register those in here.
When you expand one of them, say .txt, you'll see a subkey ShellNew (note
not all have this subkey but windows still has to scan all of them to see if
they have it).
When you look at the values for the .txt subkey you'll notice a string value
(Default) which, in this case has the value "txtfile".
Then, in the same HKEY look up the subkey txtfile, you'll find there that
the default value is a string which says "Text Document", that's the text
that is used in the 'New' submenu.
A subkey of this subkey named DefaultIcon points Windows to the default icon
to use for this type of file, an icon which is also used in the 'New'
submenu, so Windows has to look that up, too.
The last thing Windows has to lookup for _this _ filetype is a way to open
it. This is found in the subkey shell\open\command, but I'm not sure this
has to be processed while constructing the 'New' submenu.
Note that this has to be done for _every_ filetype which has a subkey
ShellNew.
Anyway, I'm sure you understand that the more filetypes there are, the more
time Windows has to spend to scan the registry finding all the relevant bits

A very nice thing you can do with this knowledge is making your own entries
for the 'New' submenu or deleting unwanted ones, or making a template file
for a new file of some kind.
For the former, you already should know how to do this, for the latter,
there's still some information missing.
In you windows folder, you should find a (hidden !) folder called ShellNew
which contains some files of different types. If you make, say, a new .txt
file there, say notepad.txt (to keep the naming convention in this folder,
but I guess this can be anything you like) and put in this file some
standard text, say your name and address, then you also should change some
registry settings to activate this file.
The next bit is entirely at your own risk, because registry editing is very
powerful, but can also render your system useless, so make a backup of the
registry first.
Go back to the .txt registry subkey under HKEY_CLASSES_ROOT, click on the
ShellNew subkey and notice a string value NullFile there. Change its name
to FileName and change the value to "notepad.txt". Close the registry and
try to create a new Text Document. Edit the name or leave it as it is, open
the file by double clicking it and see...

HTH

Chris


Michael Zap

unread,
May 29, 2001, 2:07:32 PM5/29/01
to
Well, OK. That explains it for me. I do have way too many programs installed
on my computer (time to reformat and start over, I think).

Is there a way to map a hotkey to New...Folder? That's pretty much all I
ever want to do with the New menu anyway. It's rare that I create a file
from here, and I don't make too many shortcuts either.

Thanks for your responses!


Arguich811 <argui...@yahoo.co.uk> escribió en el mensaje de noticias

#XF7Xje5AHA.2056@tkmsftngp04...
> When I choose 'New' from the context menu that appears when
right-clicking
> the desktop, the submenu appears only after a delay of 8 seconds. Does
> anyone know what causes this and how to make this submenu appear faster?
>

> Regards,
>
> Armand
>
>


Message has been deleted

DaPoet

unread,
Jun 19, 2001, 3:29:54 AM6/19/01
to
On Sat, 26 May 2001 15:32:15 +0200, "Arguich811"
<argui...@yahoo.co.uk> wrote:

>When I choose 'New' from the context menu that appears when right-clicking
>the desktop, the submenu appears only after a delay of 8 seconds. Does
>anyone know what causes this and how to make this submenu appear faster?
>
>Regards,
>
>Armand
>

Simply put............reduce the items in the "new" category down to
the only things you find absolutley necessary....or that you know you
will use. I have only one item in my context menu item "new", it's
"text document"(this does not pertain to the "folder" and "shortcut"
items as they are not the problem and are actually the only items I
ever use in this context menu selection), I have effectively reduced
the delay to negligble by using "tweakui" from MS. It has a tab in it
that allows the unselecting and even better yet the deleting of items
that you don't want appearing. Ask yourself if you really use or need
any item in the "new" menu choice and you will find how little you
really "need" these items, besides the "folder" and "shortcut" items
as mentioned previously.

DaPoet

unread,
Jun 19, 2001, 3:41:47 AM6/19/01
to
another simple one........."Folder Jazz"......... it's small but
great! link below....
http://www.softwarenow.com/Shell_and_Desktop/Context_Menu_Enhancements/4683.html
0 new messages