Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Vista Community > Windows Vista

Windows Vista Discuss the different versions of Windows Vista, Fuji, or Vienna



Reply
 
LinkBack Thread Tools
  #1  
Old 03-24-2009, 12:10 AM
Robert Morley
Newsgroup Contributor
 
Posts: n/a
MPG Context Menu ignored?

First off, I'm using Vista SP1.

Okay, so here's the problem: I've got a handy utility that extracts the
closed captioning from MPG files and generates an SRT (subtitles) file for
them. In previous versions of Windows, I just added the various commands to
the context menu, either by the built-in editor or the registry. Obviously
in Vista, I'm forced to use the registry. No problem.

Imagine my surprise, however, when all of my changes to the HKCR .mpg entry
were completely ignored! And it's not just my changes, I can see where VLC
wanted to add its own context menu entries in there as well, and they're
being ignored as well. Even removing the .mpg entry entirely, in HKCR,
HKLM\Software\Classes, and HKCU\Software\Classes (it wasn't actually there),
had absolutely NO effect on the context menu for .mpg files
whatsoever...even after a reboot!

What gives?

How can I customize the context menu for MPG files in Vista SP1?



Thanks,
Rob
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 03-24-2009, 12:10 AM
  #2  
Old 03-24-2009, 12:10 AM
Robert Morley
Newsgroup Contributor
 
Posts: n/a
Re: MPG Context Menu ignored?

Oh and an interesting addition to this: I just tried changing the extension
from .mpg to .mpeg, and the context menu's working just fine there!


Rob
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3  
Old 03-24-2009, 12:13 AM
zachd [MSFT]
Newsgroup Contributor
 
Posts: n/a
Re: MPG Context Menu ignored?


You don't mention any of the details of your attempted registry change, so
it's hard to speculate. =\

--
Speaking for myself only.
See [url]http://zachd.com/pss/pss.html[/url] for some helpful WMP info.
This posting is provided "AS IS" with no warranties, and confers no rights.
--
"Robert Morley" <rmorley@magma.ca.N0.Freak1n.sparn> wrote in message
news:eIS8awqhJHA.5732@TK2MSFTNGP05.phx.gbl...[color=blue]
> First off, I'm using Vista SP1.
>
> Okay, so here's the problem: I've got a handy utility that extracts the
> closed captioning from MPG files and generates an SRT (subtitles) file for
> them. In previous versions of Windows, I just added the various commands
> to the context menu, either by the built-in editor or the registry.
> Obviously in Vista, I'm forced to use the registry. No problem.
>
> Imagine my surprise, however, when all of my changes to the HKCR .mpg
> entry were completely ignored! And it's not just my changes, I can see
> where VLC wanted to add its own context menu entries in there as well, and
> they're being ignored as well. Even removing the .mpg entry entirely, in
> HKCR, HKLM\Software\Classes, and HKCU\Software\Classes (it wasn't actually
> there), had absolutely NO effect on the context menu for .mpg files
> whatsoever...even after a reboot!
>
> What gives?
>
> How can I customize the context menu for MPG files in Vista SP1?
>
>
>
> Thanks,
> Rob[/color]

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4  
Old 03-24-2009, 12:15 AM
Robert Morley
Newsgroup Contributor
 
Posts: n/a
Re: MPG Context Menu ignored?

zachd [MSFT] wrote:[color=blue]
>
> You don't mention any of the details of your attempted registry change,
> so it's hard to speculate. =\[/color]

It didn't matter what I did within the .MPG, MPEGFile or
WMP11.AssocFile.MPEG keys...even deleting them didn't affect the context
menu for MPGs at all.

In the end, however, it turned out to be WMP and/or Vista overriding
anything I did due to having WMP flagged as the default media player. When
I turned off the "Enable access to this program" check box in the Default
Programs, the context menu for MPGs returned to what I would have expected.

I would've pursued the issue further, but as it turned out, I got hit by the
Windows Search 4.0 "Search failed to initialize" bug and was forced to
migrate to a new user profile to resolve the problem. As I'm sure you can
imagine, I didn't allow WMP to become the default media player this time
around, thus avoiding the problem altogether.

So problem's solved...if not quite by a method I'd normally recommend. ;)



Rob
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5  
Old 03-24-2009, 12:19 AM
zachd [MSFT]
Newsgroup Contributor
 
Posts: n/a
Re: MPG Context Menu ignored?


If you want to explain your methodology and what exactly you were setting, I
might have insight here. It's an area I know relatively well. If you're
happy with your one-off solution, rock on.

'enable access' within this context just sets shellex handlers - I'm not
sure how that'd collide with what you're doing. It'd be good to understand
what you were doing. =\

--
Speaking for myself only.
See [url]http://zachd.com/pss/pss.html[/url] for some helpful WMP info.
This posting is provided "AS IS" with no warranties, and confers no rights.
--
"Robert Morley" <rmorley@magma.ca.N0.Freak1n.sparn> wrote in message
news:unOZYj3hJHA.448@TK2MSFTNGP05.phx.gbl...[color=blue]
> zachd [MSFT] wrote:[color=green]
>>
>> You don't mention any of the details of your attempted registry change,
>> so it's hard to speculate. =\[/color]
>
> It didn't matter what I did within the .MPG, MPEGFile or
> WMP11.AssocFile.MPEG keys...even deleting them didn't affect the context
> menu for MPGs at all.
>
> In the end, however, it turned out to be WMP and/or Vista overriding
> anything I did due to having WMP flagged as the default media player.
> When I turned off the "Enable access to this program" check box in the
> Default Programs, the context menu for MPGs returned to what I would have
> expected.
>
> I would've pursued the issue further, but as it turned out, I got hit by
> the Windows Search 4.0 "Search failed to initialize" bug and was forced to
> migrate to a new user profile to resolve the problem. As I'm sure you can
> imagine, I didn't allow WMP to become the default media player this time
> around, thus avoiding the problem altogether.
>
> So problem's solved...if not quite by a method I'd normally recommend. ;)
>
>
>
> Rob[/color]


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #6  
Old 03-24-2009, 12:21 AM
Robert Morley
Newsgroup Contributor
 
Posts: n/a
Re: MPG Context Menu ignored?

I'm happy with the solution I found, though obviously it's not one I'd
recommend in the general case, so I attempted to recreate the problem, and
after a little playing, I was successful.

After creating a test user account, I figured out that contrary to what I
originally thought, it's not WMP that's at fault, though it may or may not
be a contributing factor. The real problem seems to be with PowerDVD 8.
Since WMP was the only thing showing up on the context menu and all other
players seemed to be ignored, I naturally blamed it on WMP. If you happen
to have a copy of PowerDVD 8 handy, here's how I triggered the problem.

Go into PDVD's Configuration menu, then on the Player tab, select Advanced,
and then go to the File Assocation tab. Associate MPG with PowerDVD, close
the various windows, and right-click on an MPG file to see the problematic
context menu. Looks fine, if somewhat different, until you attempt to
customize it.

The problem seems to be with HOW PowerDVD associates its files. Unlike most
apps, it adds association registry info to HKCU instead of HKLM. Even if
you later remove the .MPG entry from HKCU\Software\Classes, the association
seems to still "stick". ****ed if I know how that works, but clearly
there's something else going on here.

I'm not as familiar with everything as you clearly are, and it's a little
late to be playing around right now for me, but if you'd like, I'll
duplicate the problem again tomorrow and compare before & after registry
snapshots to see if I can figure out more about what's going on. On the
other hand, if something I've said above tells you exactly what's going on,
so much the better. ;)



Rob

zachd [MSFT] wrote:[color=blue]
> If you want to explain your methodology and what exactly you were setting, I
> might have insight here. It's an area I know relatively well. If you're
> happy with your one-off solution, rock on.
>
> 'enable access' within this context just sets shellex handlers - I'm not
> sure how that'd collide with what you're doing. It'd be good to understand
> what you were doing. =\[/color]


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #7  
Old 03-24-2009, 12:27 AM
zachd [MSFT]
Newsgroup Contributor
 
Posts: n/a
Re: MPG Context Menu ignored?


Yeah, that's not nice on their part. If I were you I'd politely suggest to
their support that they change this.

I thought about doing this for WMP at some point, but realized that it'd
break every other vendor exactly like this so decided WMP didn't need to do
that. It's very important to play nice. =)

--
Speaking for myself only.
See [url]http://zachd.com/pss/pss.html[/url] for some helpful WMP info.
This posting is provided "AS IS" with no warranties, and confers no rights.
--
"Robert Morley" <rmorley@magma.ca.N0.Freak1n.sparn> wrote in message
news:OZ$ASWDiJHA.4448@TK2MSFTNGP05.phx.gbl...[color=blue]
> I'm happy with the solution I found, though obviously it's not one I'd
> recommend in the general case, so I attempted to recreate the problem, and
> after a little playing, I was successful.
>
> After creating a test user account, I figured out that contrary to what I
> originally thought, it's not WMP that's at fault, though it may or may not
> be a contributing factor. The real problem seems to be with PowerDVD 8.
> Since WMP was the only thing showing up on the context menu and all other
> players seemed to be ignored, I naturally blamed it on WMP. If you happen
> to have a copy of PowerDVD 8 handy, here's how I triggered the problem.
>
> Go into PDVD's Configuration menu, then on the Player tab, select
> Advanced,
> and then go to the File Assocation tab. Associate MPG with PowerDVD,
> close
> the various windows, and right-click on an MPG file to see the problematic
> context menu. Looks fine, if somewhat different, until you attempt to
> customize it.
>
> The problem seems to be with HOW PowerDVD associates its files. Unlike
> most
> apps, it adds association registry info to HKCU instead of HKLM. Even if
> you later remove the .MPG entry from HKCU\Software\Classes, the
> association seems to still "stick". ****ed if I know how that works, but
> clearly there's something else going on here.
>
> I'm not as familiar with everything as you clearly are, and it's a little
> late to be playing around right now for me, but if you'd like, I'll
> duplicate the problem again tomorrow and compare before & after registry
> snapshots to see if I can figure out more about what's going on. On the
> other hand, if something I've said above tells you exactly what's going
> on, so much the better. ;)
>
>
>
> Rob
>
> zachd [MSFT] wrote:[color=green]
>> If you want to explain your methodology and what exactly you were
>> setting, I might have insight here. It's an area I know relatively well.
>> If you're happy with your one-off solution, rock on.
>>
>> 'enable access' within this context just sets shellex handlers - I'm not
>> sure how that'd collide with what you're doing. It'd be good to
>> understand what you were doing. =\[/color]
>
>[/color]

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Off
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Explorer Context Menu Anthony Bollinger Windows Vista 2 12-07-2007 06:40 AM
Context Menu lobotomy- Windows Vista 0 05-27-2007 06:20 AM
Re: Context Menu dev Windows Vista 0 05-20-2007 12:50 PM
search in start menu and context menu do not open paul.vbautista@gmail.com Windows XP 0 04-18-2007 11:15 PM
WMP context menu guitarpalooz Windows Media 1 02-04-2007 08:45 PM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 02:36 AM.


2003 - 2010 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0