Home > Error Code > Pdf Error 31

Pdf Error 31

Contents

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 What is the main spoken language in Kiev: Ukrainian or Russian? current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. From the MSDN: If the function succeeds, it returns a value greater than 32.

I'm searching for any hints on what I could check to make sure ShellExecute is working. There was just an "edit"... Word documents(docx) is open fine. hInstance returns code 31, which is no file association. check over here

Sharp Copier Error Codes List

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. Is "filename" a fully qualified path? 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 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

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 I also tested the filename/-path combination on my machine to exclude those kind of problems. 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 Sharp Job Log Error Codes So, to summarize, it has something to do with combination Win 7, VDF 16.0 and ShellExecute.

Re: unable to execute, shell error: 31 Newsgroup_User Oct 16, 2008 3:47 AM (in response to webacity) "webacity" wrote in message news:[email protected] > A user is using my application on Sharp Copier Error Codes Troubleshooting More discussions in Authorware All CommunitiesAuthorwareAuthorware 5 Replies Latest reply on Oct 17, 2008 9:04 AM by Newsgroup_User unable to execute, shell error: 31 webacity Oct 16, 2008 3:10 AM A This tool uses JavaScript and much of it will not work correctly without it enabled. http://answers.microsoft.com/en-us/windows/forum/windows_7-files/getting-error-31-in-findexecutable-with-pdf-files/135a08c7-decb-4165-bc31-a98911ee2828 Legend Correct Answers - 10 points © 2016 Adobe Systems Incorporated.

Generated Mon, 24 Oct 2016 01:58:35 GMT by s_wx1202 (squid/3.5.20) Sharp Mx-5001n Error Codes 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 So the ShellExecute worked with "edit", but not with "open" as the second parameter. The system returned: (22) Invalid argument The remote host or network may be down.

Sharp Copier Error Codes Troubleshooting

asked 7 years ago viewed 16488 times active 7 months ago Related 0Link Checker With ShellExecute?2When could ShellExecute fail? (Delphi)2VB6 Application fails 8.3 path conversion on a single PC3how come we http://support.dataaccess.com/Forums/archive/index.php?t-47442.html How to explain the existence of just one religion? Sharp Copier Error Codes List To find the number of X completed, when can I subtract two numbers and when do I have to count? Sharp Tv Error Codes On another dev machine(Visual Studio 15.1 with Win xp) the same code runs fine and open up pdf and all other doc types.

It is not a true HINSTANCE, however. The return value is cast as an HINSTANCE for backward compatibility with 16-bit Windows applications. Does double-clicking on a PDF open it? What is in "params" (and why are you passing it at all)? Sharp Mx-6240n Error Codes

I find it hard to believe that the user needs to downgrade > their adobe reader I agree, it seems odd to me too. So, to summarize, it has something to do with combination Win 7, VDF 16.0 and ShellExecute. I don't have regedit rights so is there any other way to associate printing of pdf files with certain application. All other document types seem to open up properly, but not pdf's.

Its better than using a verb that might not exist. Sharp Error Code F2-64 Or what can cause ShellExecute to fail this way? Just added it some day and now it's still there.

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.

It's a fantastic resource for VB-6 API usage. –C-Pound Guru Aug 5 '09 at 19:41 add a comment| up vote 2 down vote Have a look at the return value of 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.8/ Connection It work's! Sharp Maintenance Codes I find it hard to believe that the user needs to downgrade their adobe reader cheers Jon Like Show 0 Likes(0) Actions 3.

Your cache administrator is webmaster. And, as I mentioned earlier, in VDF 15.1 and both Win Xp and Vista. Under "Documents and Settings", rename "username" folder to "usernamex" (you should be logged in with different admin user). What kind of weapons could squirrels use?

But the ShellExecute didn't. When doubleclicking for the first time, Windows asks for a programm to open the file with. And Thank's Focus for pointing us in the right direction. 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

share|improve this answer edited Mar 4 at 12:15 answered Jul 28 '09 at 13:02 Thomas Freudenberg 4,35312035 That's the weird thing, though. 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. Now I have the same context menu as with a .doc-file, when I right-click on my .xyz-file.

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? Private Declare Function FormatMessage Lib "kernel32" Alias "FormatMessageA" _ (ByVal dwFlags As Long, lpSource As Long, ByVal dwMessageId As Long, _ ByVal dwLanguageId As Long, ByVal lpBuffer As String, _ ByVal I can doubleclick the pdf document and it starts up(Adobe Reader X 10.1). Any reason for that?

Your cache administrator is webmaster. Here are problems to open pdf documents with ShellExecute.