text document in new context menu

If reporting a bug with the Zeus IDE please post the details here. Please do not post questions here.
Post Reply
omer kircher
Posts: 39
Joined: Wed Oct 27, 2004 5:37 am

text document in new context menu

Post by omer kircher »

Jussi:

I recently got a new machine, Windows 8, and a new version (ze32v397o) of Zeus, so I hope I have this straight.

When I install or uninstall Zeus, the following change is made in the registry.

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.txt default value is cleared.

This removes "Text document" from the "New" context menus.

That seems like a bug to me. :(

After a whole lot of looking around, I find that "Text document" in the "New" context menus can be restored by setting the previously mentioned default value to "txtfile".

Omer
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

This removes "Text document" from the "New" context menus.
The Zeus installer has an option to associate with txt files and if this option is selected this registry entry modified with it's default value of that key is being set as the ZeusDocument document class:

Code: Select all

[HKEY_CLASSES_ROOT\.txt]
So I'm assuming that when you ran the Zeus installer you selected this Zeus txt file association.
That seems like a bug to me.
What has gone wrong is because the ZeusDocument does have not a default value, Explorer does not add it to the New menu.

So one way to fix this is, as you point out, use the Windows txtfile document class.

Another way to fix this is to find the Zeus document class key:

Code: Select all

[HKEY_CLASSES_ROOT\ZeusDocument]
and set the default value for this key to be:

Code: Select all

Text Document
With a default value, Explorer now adds the item to the New menu.

Cheers Jussi
Post Reply