Home > Error Code > Pdf Error 31

Pdf Error 31

Contents

Your cache administrator is webmaster. I work on Windows XP SP2.> Hi Niko, > > ShellExecute() returning Error 31 means "There is no application associated with the given file-name extension."> > > PDF files are associated 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 share|improve this answer edited Oct 21 '12 at 9:27 Luksprog 69.7k11136153 answered May 10 '12 at 14:24 Wilson Arguello 1 The OP said it opened from Explorer.

I find it hard to believe that the user needs to downgrade > their adobe reader I agree, it seems odd to me too. Chris Forecast Like Show 0 Likes(0) Actions Go to original post Actions More Like This Retrieving data ... And because I was not able to change the VB6-code, I opened the registry with regedit. If you want the best of both worlds, you could check if the open verb exists first, and if it does not, use NULL (But this way you are really screwing http://help.adobe.com/en_US/livecycle/9.0/errorCodeRef/index.html

Sharp Copier Error Codes List

Is "filename" a fully qualified path? more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed 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 Re: unable to execute, shell error: 31 webacity Oct 17, 2008 6:11 AM (in response to webacity) I just installed adobe reader 9 and don't seem to have a problem, so

If the function fails, it returns an error value that indicates the cause of the failure. Generated Mon, 24 Oct 2016 01:58:35 GMT by s_wx1202 (squid/3.5.20) The specific value returned indicates what went wrong. Sharp Job Log Error Codes The error codes you get back seem very similar, is it just that you get to do those checks before actually trying to launch the file?

The development machine runs VDF 16.0 on a Windows 7 32-bit. Changing back to Reader with original failure (error code 31 - "There is no application associated with the given file-name extension."). All other document types seem to open up properly, but not pdf's. check my site I'm too old to care and will require all sites to stay with W7.

Your cache administrator is webmaster. Sharp Mx-5001n Error Codes ShellExecute is great for an execute and wait call (instead of just Shell), but it seems to use a more brute-force method of execution which sometimes results in an error. winapi file vb6 registry shellexecute share|improve this question edited Jul 28 '09 at 13:33 Daniel Rikowski 37.7k35190288 asked Jul 28 '09 at 12:47 MicSim 16.8k1158101 I'm curious why you're 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: http://0.0.0.9/ Connection

Sharp Copier Error Codes Troubleshooting

It seems to work on Vista machines with VDF 16.0. Generated Mon, 24 Oct 2016 01:58:35 GMT by s_wx1202 (squid/3.5.20) home signup forum archives search google articles downloads faq members weblogs file info rss RE: SHELLEXECUTE RETURNS CODE 31 From: Sharp Copier Error Codes List Now it should work. Sharp Tv Error Codes And, as I mentioned earlier, in VDF 15.1 and both Win Xp and Vista.

All rights reserved. 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. I used vbnet.mvps.org/index.html?code/system/findexecutable.htm as my source. Sharp Mx-6240n Error Codes

Here are problems to open pdf documents with ShellExecute. Please try the request again. It all works! 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?

Now I got a customer (running XP with Adobe Reader) who can't open any PDF file using the above command. Sharp Error Code F2-64 All Rights Reserved. | Powered by Help | Terms of Use | Privacy Policy and Cookies (UPDATED) | Forum Help | Tips for AskingJive Software Version: 8.0.3.0 , revision: 20160218075410.6eafe9c.release_8.0.3.x ERROR You have to associate the PDF file with any program (such as Acrobat x) to read PDF's, then you can open PDF files with ShellExecute.

The development machine runs Win 7.

Re: unable to execute, shell error: 31 40uk.com Oct 17, 2008 7:46 AM (in response to webacity) Don't have Vista Ultimate Edition? Are illegal immigrants more likely to commit crimes? What kind of weapons could squirrels use? Sharp Maintenance Codes If a user has changed the default verb to "Edit" or "Print" the result won't be what was desired: viewing the PDF document. –Bob77 Jul 28 '09 at 20:45

Good for you: You just saved $200, and you didn't even have to pass Go. Not the answer you're looking for? I have checked the associated prog in Windows, and it is Acrobat Reader. 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

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? It work's! So, to summarize, it has something to do with combination Win 7, VDF 16.0 and ShellExecute. The system returned: (22) Invalid argument The remote host or network may be down.

I think this is a problem within the Adobe Reader installer that is sometimes not adding the open verb during installation. Your cache administrator is webmaster. The return value is cast as an HINSTANCE for backward compatibility with 16-bit Windows applications. 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

Then I added it because of the documentation saying the function is taking null-terminated strings. –MicSim Jul 28 '09 at 13:17 I removed them, it makes the code more On my XP machine it works fine thanks Jon I have the same question Show 0 Likes(0) 3771Views Tags: none (add) This content has been marked as final. 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 Any change if you don't use it? –Michael Todd Jul 28 '09 at 13:01 I think, adding 'vbNullString' to the end of your strings is not necessary.

Please type your message and try again. Ian Nicholas19-Mar-2012, 06:26 AMI have investigated a little bit more.