Skip to main content

Create ActiveX object on the server

  • July 4, 2011
  • 4 replies
  • 0 views

[Migrated content. Thread originally posted on 04 July 2011]

Hi there,

I am running in a client/server environment.

I have an activex control on the server, does anyone know how I create an incstance on the server when running the wrun32.exe on the client. There is no screen display at all.

I know how to create activex objects on the client just by displaying it on a form etc but am struggling with the server. I have looked at the SERVER-NAME when displaying the activex but get a compile error.

I tried using the CREATE statemnt but did not know what the object name should be and kept getting errors.

So if I have an activeX control that performs functions and want to run it on the server not the client does anyone know hhow to do it ?

4 replies

  • Author
  • Rocketeer
  • 19312 replies
  • July 4, 2011

[Migrated content. Thread originally posted on 04 July 2011]

Hi there,

I am running in a client/server environment.

I have an activex control on the server, does anyone know how I create an incstance on the server when running the wrun32.exe on the client. There is no screen display at all.

I know how to create activex objects on the client just by displaying it on a form etc but am struggling with the server. I have looked at the SERVER-NAME when displaying the activex but get a compile error.

I tried using the CREATE statemnt but did not know what the object name should be and kept getting errors.

So if I have an activeX control that performs functions and want to run it on the server not the client does anyone know hhow to do it ?
Also we are using Extend 9.

Stephen Hjerpe
  • Participating Frequently
  • 1100 replies
  • July 5, 2011

[Migrated content. Thread originally posted on 04 July 2011]

Hi there,

I am running in a client/server environment.

I have an activex control on the server, does anyone know how I create an incstance on the server when running the wrun32.exe on the client. There is no screen display at all.

I know how to create activex objects on the client just by displaying it on a form etc but am struggling with the server. I have looked at the SERVER-NAME when displaying the activex but get a compile error.

I tried using the CREATE statemnt but did not know what the object name should be and kept getting errors.

So if I have an activeX control that performs functions and want to run it on the server not the client does anyone know hhow to do it ?
The only way I can think of is to use AcuConnect distributed processing. The program (prog-excell) can be called from COBOL but prog-excel would be executed on the server. The configuration file would need an entry so that prog-excell gets executed by AcuConnect distributed processing.

I hope this helps.

Stephen Hjerpe
  • Participating Frequently
  • 1100 replies
  • July 6, 2011

[Migrated content. Thread originally posted on 04 July 2011]

Hi there,

I am running in a client/server environment.

I have an activex control on the server, does anyone know how I create an incstance on the server when running the wrun32.exe on the client. There is no screen display at all.

I know how to create activex objects on the client just by displaying it on a form etc but am struggling with the server. I have looked at the SERVER-NAME when displaying the activex but get a compile error.

I tried using the CREATE statemnt but did not know what the object name should be and kept getting errors.

So if I have an activeX control that performs functions and want to run it on the server not the client does anyone know hhow to do it ?
I think the SERVER-NAME in the create syntax is this: the client PC does DCOM calls (Distributed COM) to the server, which would require the client PC to have the COM objects available

Stephen Hjerpe
  • Participating Frequently
  • 1100 replies
  • July 7, 2011

[Migrated content. Thread originally posted on 04 July 2011]

Hi there,

I am running in a client/server environment.

I have an activex control on the server, does anyone know how I create an incstance on the server when running the wrun32.exe on the client. There is no screen display at all.

I know how to create activex objects on the client just by displaying it on a form etc but am struggling with the server. I have looked at the SERVER-NAME when displaying the activex but get a compile error.

I tried using the CREATE statemnt but did not know what the object name should be and kept getting errors.

So if I have an activeX control that performs functions and want to run it on the server not the client does anyone know hhow to do it ?
Chapter 6: Procedure Division > 6.6 Procedure Division Statements >

CREATE Statement

When a server-name is provided - the COM object's interface is instantiated on the machine where the application is executing and the back-end is instantiated on the specified server where the work is done and resources can be accessed. In this case the COM object must be registered on both machines.