| Author |
EAServer using ActiveX via OCX file???
|
|
| Marc Zwillinger 2005-11-30, 8:25 pm |
| I have an ActiveX object I need to use from an EAServer
application. The ActiveX is in the form of an OCX file,
there is no DLL or TLB files to import. Is there a way to
bring an ActiveX/OCX into EAServer?
The application I am deploying is written in PowerBuilder, I
can add the ActiveX control to a PB window. I am not sure
how or if this will work with EAServer.
Any advice would be greatly appreciated!
-Marc.
| |
| Dean Jones 2005-11-30, 8:25 pm |
| can you wrap with a pb nvo?
--
Dean Jones [TeamSybase]
CEO
Certified PowerBuilder Developer
www.powerobjects.com
(612) 339-3355 ext 112
<Marc Zwillinger> wrote in message
news:438e0702.7cb.1681692777@sybase.com...
>I have an ActiveX object I need to use from an EAServer
> application. The ActiveX is in the form of an OCX file,
> there is no DLL or TLB files to import. Is there a way to
> bring an ActiveX/OCX into EAServer?
>
> The application I am deploying is written in PowerBuilder, I
> can add the ActiveX control to a PB window. I am not sure
> how or if this will work with EAServer.
>
> Any advice would be greatly appreciated!
>
> -Marc.
| |
| Marc Zwillinger 2005-11-30, 8:25 pm |
| > can you wrap with a pb nvo?
I tried, but can't deploy a window to EAServer
| |
| Marc Zwillinger 2005-11-30, 8:25 pm |
| > can you wrap with a pb nvo?
I also tried placing the ActiveX control in a OLE object.
// ActiveX control placed on a window
//
// This works but requires a window for the ActiveX control
// and cannot be deployed to EAServer
ole_1.Object.Timeout = 1000
// I was hopeful this would work but it
// produces runtime error "Error accessing external
property"
// The ConnectToNewObject returns 0 => no error
OLEObject ole_obj
ole_obj = CREATE OLEObject
ole_obj.ConnectToNewObject("servername")
ole_obj.Timeout = 1000
Any ideas why one works and the other does not?
| |
| Dean Jones 2005-12-01, 9:24 am |
| correct it has to be a non visual object. This is a visual control?
--
Dean Jones [TeamSybase]
CEO
Certified PowerBuilder Developer
www.powerobjects.com
(612) 339-3355 ext 112
<Marc Zwillinger> wrote in message
news:438e3d61.cc7.1681692777@sybase.com...
> I tried, but can't deploy a window to EAServer
| |
| Marc Zwillinger 2005-12-01, 11:24 am |
| I am trying to deploy an ActiveX/OCX to EAServer. It is not a visual
control. The only way I can deploy it is to place an OLE control on a
window though. I tried using OLEObject but for some reason it doesn't work.
"Dean Jones" < dean_dot_jones_at_po
werobjects_dot_com> wrote in message
news:438f0c97$1@foru
ms-2-dub...
> correct it has to be a non visual object. This is a visual control?
>
> --
> Dean Jones [TeamSybase]
> CEO
> Certified PowerBuilder Developer
> www.powerobjects.com
> (612) 339-3355 ext 112
>
>
> <Marc Zwillinger> wrote in message
> news:438e3d61.cc7.1681692777@sybase.com...
>
>
| |
| Dean Jones 2005-12-01, 11:24 am |
| did you you try importing the activex into easerver? I havent done this in a
long time, but you should be able to import the activex into eas.
--
Dean Jones [TeamSybase]
CEO
Certified PowerBuilder Developer
www.powerobjects.com
(612) 339-3355 ext 112
"Marc Zwillinger" <mzwilli@yahoo.com> wrote in message
news:438f1841$1@foru
ms-2-dub...
>I am trying to deploy an ActiveX/OCX to EAServer. It is not a visual
>control. The only way I can deploy it is to place an OLE control on a
>window though. I tried using OLEObject but for some reason it doesn't
>work.
>
> "Dean Jones" < dean_dot_jones_at_po
werobjects_dot_com> wrote in message
> news:438f0c97$1@foru
ms-2-dub...
>
>
| |
| Marc Zwillinger 2005-12-01, 11:24 am |
| Yeah, I tried but the ActiveX is delivered as an OCX file - No DLL or TLB
files - so I couldn't import into EAServer
"Dean Jones" < dean_dot_jones_at_po
werobjects_dot_com> wrote in message
news:438f2475@forums
-2-dub...
> did you you try importing the activex into easerver? I havent done this in
> a long time, but you should be able to import the activex into eas.
>
> --
> Dean Jones [TeamSybase]
> CEO
> Certified PowerBuilder Developer
> www.powerobjects.com
> (612) 339-3355 ext 112
>
>
> "Marc Zwillinger" <mzwilli@yahoo.com> wrote in message
> news:438f1841$1@foru
ms-2-dub...
>
>
|
|
|
|