Highlighted
Absent Member.
Absent Member.
296 views

[archive] ShellexecuteA issue

[Migrated content. Thread originally posted on 03 August 2010]

Good day,

Really i think it's not a problem of COBOL, but i'll post my problem to see if someone have it.

I have a call to shellexecuteA api that is working perfectly under all operative systems, but in a customer with windows 2008 server standard sp 2, the api don't open an image. It returns code 31 that if the example isn't wrong is:

"No association for file extension"

In the files explorer in windows, i double click it and the operative system open it with paint, then i dunno how the api returns that no file extension is associated.

Probably is a configuration problem in de OS, but maybe here is a know issue.

Thanks afterwards

P.D: I post this first in microsoft forums and I'm waiting for response.
0 Likes
1 Reply
Highlighted
Absent Member.
Absent Member.

RE: [archive] ShellexecuteA issue

Finally like i said, it's an issue with windows 2008 server. A package for "Desktop experience" isn't installed by default on this OS, and one of the problems is no images can be showed with Windows picture preview.

Thanks anyway 😄
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.