Skip to main content

Problem:

This demo shows how you can create a Windows control panel application using Net Express and Dialog System.

Resolution:

INTRODUCTION

==========

This demo shows how you can create a Windows control panel application using  Net Express.

SOURCE FILES:

==========

Program Files          Description

--------------------     -----------------------------------------------------------

CPIApplet.cbl

controlpanel.cbl

Copy Files:

--------------------     -----------------------------------------------------------

commdlg.cpy

mfres.cpy

minwin.cpy

winbase.cpy

winclass.cpy

winerror.cpy

wingdi.cpy

winnls.cpy

wintypes.cpy

winuser.cpy

controlpanel.cpb

mfres.h

DS Screenset:

--------------------     -----------------------------------------------------------

controlpanel.gs

Resource Files:

--------------------     -----------------------------------------------------------

cobcont.ico

cobcont.rc

OPERATION:

========

After building the application copy the cobcont.dll built to cobcont.cpl in the windows system32 directory. Also copy the controlpanel.gs into the system32 directory. You should then see an icon for the cobol control panel application the next time that  the control panel is opened.

NOTE:

====

Calls and parameters for the demo are documented by Microsoft at: http://msdn.microsoft.com/library/psdk/shellcc/shell/Shell_Adv/ConPanel.htm

==========================================================

Keywords: demonstration, sample, example, demo, Dialog System, controlpanel.zip

demo.ex

demo.ne

Attachments:

ControlPanel.zip

Old KB# 4215