Skip to main content

Is there a way to retrieve the computer name through a COBOL program?

  • Feb 15, 2013 10:56 PM UTC
  • 0 replies
  • 8 views

Dominique Sacre
Forum|alt.badge.img+2

Problem:

How can I display a JPEG (JPG) file from a Character based application?

Resolution:

Character based applications do not support the display of images.

You could however use the ShellExecute api routine to display a JPG in the system default application for it.

Attached is a demo that gets a JPG from a website and displays it using ShellExecute.

Attachments:

WinHTTP GET.zip

Old KB# 5376