Menu of context 'Read' no word 'open '.

I have an application that uses the ShellExecute (hWnd, "open", pFile, NULL, NULL, SW_SHOWMAXIMIZED); to view the attachments. The pFile file can be any type of document to PDF. On a Vista with Adobe Reader (8, 9, or 10) machine in the temporary directory of the user, it does not for PDF documents. When I right click the PDF the default verb is 'read' not 'open '. (If I replace the 'open' in my call to 'read', it works, but I can't do is can be an arbitrary fixation).

The search in the registry for the Shell verbs not 'open' is entered. If I use 'Open with' to set the default program to "Notepad" it opens files in Notepad. If I change back to Adobe it goes back to 'read '.

I have not configured this machine and it might be some 'interesting' permissions, security settings, but these cause Adobe Reader to change the word 'read', of 'open '? (And if so, how can I remove settings?). I am also as administrator with full read/write access to the directory?

I searched the Internet and could not find another person with this problem, but no solution...

No new results on this issue?

We could solve what seems to be the same problem by correcting the registry.

We had a domain user on a computer (Win 7/64-bit) with only one entrance to 'Read' in the context menu for the pdf files.

Using ShellExecute ('open'...)  in a similar use cases, we had the same result as ceeebeem.

Adober reading X is installed on all our machines.

Other users - in particular a 'fresh' - on the same computer user did not have this problem.

We started regedit for specific user and found

HKCR\. PDF\ (standard) = pdf_auto_file

Had other users:

HKCR\. PDF\ (standard) = AcroExch.Document

Entries and subtrees under:

HKCR\AcroExch.document and

HKCR\AcroExch.document.7

were the same for all users.

Reinstall or repair the Acrobat Reader X has not solved the problem.

Also to reallocate the extension by "open with...". "did not work.

But deleting the "HKCR\.pdf" entry for specific user does the job.

After a registry to refresh the reappeard .pdf-entry for this user as:

HKCR\. PDF\ (standard) is AcroExch.Document.

So this seems like a problem with the registry virtualization.

(May be another program with not enough access right has produced this virtual HKCR\.pdf entry.)

In our case the Foxit Reader has been installed Compact (and later removed) on this machine. "But that's just a guess).

EDIT:

HM maybe edition HKCR was not a goog idea because according to http://support.microsoft.com/kb/256986/en HKCR is constructed in HKCU\Software\Classes and HKLM\Software\Classes. If the values should be edited it there...

But the problem is still resolved, may ba as a side effect.

Tags: Acrobat

Similar Questions

Maybe you are looking for