ActiveX question?

Postby Antonio Linares » Fri Sep 29, 2006 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Taiwan » Fri Sep 29, 2006 7:58 am

Antonio,

Ok. I'll send to you.

Richard
User avatar
Taiwan
 
Posts: 218
Joined: Fri Oct 07, 2005 1:55 am
Location: Taipei, Taiwan

Postby Antonio Linares » Fri Sep 29, 2006 8:19 am

Richard,

Tested and working ok using "OWC11.Spreadsheet"
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Taiwan » Fri Sep 29, 2006 8: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
User avatar
Taiwan
 
Posts: 218
Joined: Fri Oct 07, 2005 1:55 am
Location: Taipei, Taiwan

Postby Antonio Linares » Fri Sep 29, 2006 10:03 am

What OCX is it ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby areang » 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
areang
 
Posts: 128
Joined: Mon Jul 31, 2006 3:23 pm

Postby Enrico Maria Giordano » Fri Sep 29, 2006 1: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
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Antonio Linares » Fri Sep 29, 2006 3:53 pm

Areang,

> How about OCX with DIALOG ?

We have tested it and it works fine.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Taiwan » Sat Sep 30, 2006 8:24 am

Antonio Linares wrote:What OCX is it ?


Antonio,

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

Richard
User avatar
Taiwan
 
Posts: 218
Joined: Fri Oct 07, 2005 1:55 am
Location: Taipei, Taiwan

Postby Taiwan » Thu Oct 05, 2006 1:48 am

Hello Antonio,

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

Regards,

Richard
User avatar
Taiwan
 
Posts: 218
Joined: Fri Oct 07, 2005 1:55 am
Location: Taipei, Taiwan

Postby Antonio Linares » Thu Oct 05, 2006 4: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Taiwan » Thu Oct 05, 2006 4: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
User avatar
Taiwan
 
Posts: 218
Joined: Fri Oct 07, 2005 1:55 am
Location: Taipei, Taiwan

Postby Antonio Linares » Thu Oct 05, 2006 5:03 am

Richard,

You may ask the OCX manufacturer. We have noticed the same strange behavior with Visual Basic. This is the working code:
Code: Select all  Expand view
#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
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Antonio Linares » Thu Oct 05, 2006 5:08 am

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Taiwan » Thu Oct 05, 2006 5: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
User avatar
Taiwan
 
Posts: 218
Joined: Fri Oct 07, 2005 1:55 am
Location: Taipei, Taiwan

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 76 guests