FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour ActiveX question?
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
ActiveX question?
Posted: Fri Sep 29, 2006 07:25 AM

Richard,

That was fixed on a past FWH build.

Please email me your sample code and we will build it here.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 218
Joined: Fri Oct 07, 2005 01:55 AM
ActiveX question?
Posted: Fri Sep 29, 2006 07:58 AM

Antonio,

Ok. I'll send to you.

Richard

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
ActiveX question?
Posted: Fri Sep 29, 2006 08:19 AM

Richard,

Tested and working ok using "OWC11.Spreadsheet"

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 218
Joined: Fri Oct 07, 2005 01:55 AM
ActiveX question?
Posted: Fri Sep 29, 2006 08:53 AM
Antonio Linares wrote:Richard,

Tested and working ok using "OWC11.Spreadsheet"


Antonio,

Yes, it's working within Dialog.

But I use some 3rd party ActiveX to help my customer.

Any idea or suggestion?

Richard
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
ActiveX question?
Posted: Fri Sep 29, 2006 10:03 AM

What OCX is it ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 128
Joined: Mon Jul 31, 2006 03:23 PM
ActiveX question?
Posted: Fri Sep 29, 2006 12:28 PM

Enrico,

Thank to reply about timer on dialog
I missing to add oTmr:hWndOwner := oDlg:hWnd

Now work fine.

How about OCX with DIALOG ?

Best Regard
Areang

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
ActiveX question?
Posted: Fri Sep 29, 2006 01:08 PM
areang wrote:Enrico,

Thank to reply about timer on dialog
I missing to add oTmr:hWndOwner := oDlg:hWnd

Now work fine.

How about OCX with DIALOG ?


Best Regard
Areang


I don't know, sorry.

EMG
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
ActiveX question?
Posted: Fri Sep 29, 2006 03:53 PM

Areang,

> How about OCX with DIALOG ?

We have tested it and it works fine.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 218
Joined: Fri Oct 07, 2005 01:55 AM
ActiveX question?
Posted: Sat Sep 30, 2006 08:24 AM
Antonio Linares wrote:What OCX is it ?


Antonio,

Please visit this web.
http://www.officeocx.com/OfficeActiveX.htm

Richard
Posts: 218
Joined: Fri Oct 07, 2005 01:55 AM
ActiveX question?
Posted: Thu Oct 05, 2006 01:48 AM

Hello Antonio,

Could you try Play GIF ActiveX within Resource Dialog?
Could you fix this problem?

Regards,

Richard

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
ActiveX question?
Posted: Thu Oct 05, 2006 04:24 AM

Richard,

The animated GIF is properly working on a dialog, though the OCX control does not paint very well (it paints a strange border around).

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 218
Joined: Fri Oct 07, 2005 01:55 AM
ActiveX question?
Posted: Thu Oct 05, 2006 04:54 AM
Antonio Linares wrote:Richard,

The animated GIF is properly working on a dialog, though the OCX control does not paint very well (it paints a strange border around).


Antonio,

So how to do it? or any suggestion or solution?

Richard
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
ActiveX question?
Posted: Thu Oct 05, 2006 05:03 AM
Richard,

You may ask the OCX manufacturer. We have noticed the same strange behavior with Visual Basic. This is the working code:
#include "FiveWin.ch"

Function TestActiveX_Dlg()   

   LOCAL oDlg, oActiveX

   DEFINE WINDOW oDlg

   @ 1, 1 ACTIVEX oActiveX OF oDlg ;
      PROGID "ANIMATEDGIF.AnimatedGifCtrl.1"        

   oActiveX:Do( "AnimatedGif", "world.gif" )
   oActiveX:Do( "Play" )
   
   ACTIVATE WINDOW oDlg
      
RETURN NIL

And here you have an AVI file:
http://hyperupload.com/download/0230e60 ... d.zip.html
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
ActiveX question?
Posted: Thu Oct 05, 2006 05:08 AM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 218
Joined: Fri Oct 07, 2005 01:55 AM
ActiveX question?
Posted: Thu Oct 05, 2006 05:30 AM
Antonio Linares wrote:Here you have the EXE:
http://hyperupload.com/download/02ea275 ... X.zip.html


Antonio,

But I test some ActiveX( maybe OCX ) components,
Define Window work OK, but Resource Dialog not work.

I just think why Window OK, Resource Dialog not OK

Richard