Home > Error Code > Pdf Error 31

Pdf Error 31


I think this is a problem within the Adobe Reader installer that is sometimes not adding the open verb during installation. Changing back to Reader with original failure (error code 31 - "There is no application associated with the given file-name extension."). Please enter a title. I'm searching for any hints on what I could check to make sure ShellExecute is working.

It is not a true HINSTANCE, however. Now, its working fine without any error:)" Is this true? Reinstalling Adobe Reader might help. Did you have some problems with ShellExecute that using FindExecutable helped you to get around? –Gavin Aug 5 '09 at 16:08 FindExecutable does the work of finding the program http://help.adobe.com/en_US/livecycle/9.0/errorCodeRef/index.html

Sharp Copier Error Codes List

Your cache administrator is webmaster. Good for you: You just saved $200, and you didn't even have to pass Go. Like Show 0 Likes(0) Actions 5. Also other types of files (like word,excel etc.) are printing with same command without problems.

What is the main spoken language in Kiev: Ukrainian or Russian? If the function fails, it returns an error value that indicates the cause of the failure. I used vbnet.mvps.org/index.html?code/system/findexecutable.htm as my source. Sharp Job Log Error Codes Absolute value of polynomial Carrying Metal gifts to USA (elephant, eagle & peacock) for my friends Objects places opposite partly in particle system How do you say "you all" in Esperanto?

Sometimes resetting the file association makes it all 'work', sometimes not. Sharp Copier Error Codes Troubleshooting All other document types seem to open up properly, but not pdf's. And, as I mentioned earlier, in VDF 15.1 and both Win Xp and Vista. This tool uses JavaScript and much of it will not work correctly without it enabled.

Are illegal immigrants more likely to commit crimes? Sharp Mx-5001n Error Codes But of course every other file open with shellexecute works for all known file types, apart from these PDFs Ian Focus19-Mar-2012, 08:52 AMInteresting answer on here about using NULL rather than If it's 0x0000001f (== 31, meaning SE_ERR_NOASSOC), than according to shellapi.h "There is no application associated with the given file name extension.", which means that somehow the registration of the .pdf Chris Forecast Like Show 0 Likes(0) Actions 2.

Sharp Copier Error Codes Troubleshooting

Here are problems to open pdf documents with ShellExecute. http://support.dataaccess.com/Forums/archive/index.php?t-47442.html It all works! Sharp Copier Error Codes List Your cache administrator is webmaster. Sharp Tv Error Codes Garrett - for us the files do open when double-clicked in a Windows Explorer window - which is why the clients conclude its an issue with our product.

Very strange. –Michael Todd Jul 28 '09 at 13:06 1 It may be that Explorer uses some COM voodoo ;) –Thomas Freudenberg Jul 28 '09 at 13:08 2 There Ian Nicholas19-Mar-2012, 06:26 AMI have investigated a little bit more. I just left a comment expressing my doubts. –Bob77 Jul 29 '09 at 17:36 @Bob, did not mean to target you directly. –Anders Jul 30 '09 at 22:45 add What kind of weapons could squirrels use? Sharp Mx-6240n Error Codes

You can use the return value as the parameter and get back a more friendly message. It seems to work on Vista machines with VDF 16.0. As I mentioned above, the same code runs fine under VDF 15.1 and Win XP. This error will also be returned if you attempt to print a file that is not printable." Do they have Adobe Reader (or equivalent) installed?

ShellExecute error 31 indicates that: "There is no application associated with the given file name extension. Sharp Error Code F2-64 Best Regards Mikael Olsson Rix Data Garret Mott19-Mar-2012, 06:15 AMMikael - If the error says no file association - is that maybe the problem on that machine? Legend Correct Answers - 10 points © 2016 Adobe Systems Incorporated.

Your cache administrator is webmaster.

The development machine runs VDF 16.0 on a Windows 7 32-bit. The system returned: (22) Invalid argument The remote host or network may be down. The development machine runs VDF 16.0 on a Windows 7 32-bit. Sharp Maintenance Codes But at least I could suggest reinstalling Adobe Reader. –MicSim Jul 28 '09 at 13:25 add a comment| up vote 7 down vote Further to Thomas's answer, here's some VB6 constants

ERROR_PATH_NOT_FOUND: The specified path was not found (...) share|improve this answer answered Jul 28 '09 at 13:09 Treb 13.9k44273 I'll log this value and then I'll know more. –MicSim Please try the request again. Under "Documents and Settings", rename "username" folder to "usernamex" (you should be logged in with different admin user). current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list.

share|improve this answer answered Sep 10 '14 at 11:48 user3256508 234 This is the same answer given by Anders –Deanna Sep 11 '14 at 8:53 add a comment| up I can doubleclick the pdf document and it starts up(Adobe Reader X 10.1). But the ShellExecute didn't. In the Path "HKEY_CLASSES_ROOT\.doc" the standard-value was "Word.Document.8", in "HKEY_CLASSES_ROOT\.xyz" there was just "xyz_auto_file".

And Thank's Focus for pointing us in the right direction. Re: unable to execute, shell error: 31 Newsgroup_User Oct 17, 2008 9:04 AM (in response to Newsgroup_User) "webacity" wrote in message news:[email protected] > Is this true? And because I was not able to change the VB6-code, I opened the registry with regedit. Teaching a blind student MATLAB programming sort command : -g versus -n flag more hot questions question feed lang-vb about us tour help blog chat data legal privacy policy work here

Generated Mon, 24 Oct 2016 01:58:35 GMT by s_wx1202 (squid/3.5.20) Here is the export of the registry values I added: [HKEY_CLASSES_ROOT\pdf_auto_file\shell\Open\command] @="\"C:\\Program Files\\Adobe\\Reader 11.0\\Reader\\AcroRd32.exe\" \"%1\"" share|improve this answer edited Mar 4 '15 at 17:49 answered Mar 4 '15 at 17:41 Martin So I had to find another solution... But I agree that the return value should prove meaningful here. –Bob77 Jul 28 '09 at 20:43 add a comment| 12 Answers 12 active oldest votes up vote 7 down vote

Now I got a customer (running XP with Adobe Reader) who can't open any PDF file using the above command. To find the number of X completed, when can I subtract two numbers and when do I have to count? All rights reserved. Generated Mon, 24 Oct 2016 01:58:35 GMT by s_wx1202 (squid/3.5.20) ERROR The requested URL could not be retrieved The following error was encountered while trying to retrieve the URL: Connection

You can copy files from the usernamex folder to the new username folder (Desktop, Documents, etc.) share|improve this answer edited Jan 5 '13 at 21:54 the Tin Man 110k22135206 answered Nov Maybe the user fiddled with the pdf file associations (Explorer: Folder options - File Types). –Treb Jul 28 '09 at 13:13 Unfortunately I don't have the return value and Word documents(docx) is open fine. Please try the request again.

So the ShellExecute worked with "edit", but not with "open" as the second parameter.