PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Dynamically load activex at runtime
Dynamically load activex at runtime
Débuté par David, 21 aoû. 2008 13:42 - 2 réponses
Posté le 21 août 2008 - 13:42
Hi forum, i would like to load an activex into a activex control at runtime, i've been looking in the forums and came up with nothing. Is there a way to do it?

By the way i'm still using WD10 and hoping for WD12...

Thanks in advance.
Posté le 21 août 2008 - 19:35
David a écrit :
Hi forum, i would like to load an activex into a activex control at runtime, i've been looking in the forums and came up with nothing. Is there a way to do it?

By the way i'm still using WD10 and hoping for WD12...

Thanks in advance.


It is quite easy:
AX_ActiveX1..Value="WMPlayer.OCX"
AX_ActiveX1..Value="QTOControl.QTControl"

Regards
/JA
http://www.ja-psi.com
Posté le 22 août 2008 - 09:44
Thanks for your reply,
i'd already tried that but then i cannot access the activex public methods.
Tried to use {activex}>>Method and {activex>>Method} and it didn't work so i thought the activex wasn't loaded.
Any other sugestion?