<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>23 Mar 2016 15:32:08 Z</lastBuildDate><pubDate>21 Mar 2016 14:33:33 Z</pubDate><description>[WD20]&#13;
I would like to use some code presented in an VisualBasic example :&#13;
&#13;
_  Set objRequest = objCharacter.Play("Announce")&#13;
_    Do While objRequest.Status &gt; 0&#13;
_   _    Wscript.Sleep 100&#13;
_    Loop&#13;
&#13;
I know how to make a call to a proc without the return value &#13;
(example taken from WD examples - ActiveX, MS Agent)&#13;
&#13;
   WINDEV:      &#13;
[code:wl]&#13;
AGENT&gt;&gt;Characters(“Agent”)&gt;&gt;Play('Announce')          //THIS WORKS&#13;
[/code]&#13;
&#13;
Because I need some more control I would like to use the logic from the visal basic example, which uses the result of the procedure call - I need access to objRequest.Status -&#13;
&#13;
??? = AGENT&gt;&gt;Characters(“Agent”)&gt;&gt;Play('Announce')   &#13;
&#13;
How to get the result of the activeX call ??&#13;
&#13;
&#13;
IS THIS POSSIBLE IN WINDEW ?&#13;
HOW can I get the return value in the same way in WinDev?</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56940-wd20-help-translate-one-statement-activex/read.awp</link><title>[WD20] Help translate one VB statement to WD - activeX</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>vvido</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56940-wd20-help-translate-one-statement-activex-56997/read.awp</comments><pubDate>23 Mar 2016 15:32:08 Z</pubDate><description>oh, dynamic automation object !&#13;
&#13;
I have just tried with Dynamic Automation Object and it does not crash anymore.&#13;
It works and…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56940-wd20-help-translate-one-statement-activex-56997/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56940-wd20-help-translate-one-statement-activex-56997/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56940-wd20-help-translate-one-statement-activex/read.awp">[WD20] Help translate one VB statement to WD - activeX</source><title>Re: [WD20] Help translate one VB statement to WD - activeX</title></item><item><author>fromweb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56940-wd20-help-translate-one-statement-activex-56985/read.awp</comments><pubDate>23 Mar 2016 13:20:32 Z</pubDate><description>YEs you did,&#13;
&#13;
now for my second answer, did you try with vvar is dynamic object ?&#13;
&#13;
Best regards&#13;
&#13;
-- &#13;
Fabrice Harari&#13;
Inte…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56940-wd20-help-translate-one-statement-activex-56985/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56940-wd20-help-translate-one-statement-activex-56985/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56940-wd20-help-translate-one-statement-activex/read.awp">[WD20] Help translate one VB statement to WD - activeX</source><title>Re: [WD20] Help translate one VB statement to WD - activeX</title></item><item><author>vvido</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56940-wd20-help-translate-one-statement-activex-56979/read.awp</comments><pubDate>23 Mar 2016 10:22:07 Z</pubDate><description>I hope I have understood the hint in your first response.&#13;
This is what I have done:&#13;
&#13;
vVar is Variant&#13;
vVar = AGENT&gt;&gt;character…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56940-wd20-help-translate-one-statement-activex-56979/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56940-wd20-help-translate-one-statement-activex-56979/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56940-wd20-help-translate-one-statement-activex/read.awp">[WD20] Help translate one VB statement to WD - activeX</source><title>Re: [WD20] Help translate one VB statement to WD - activeX</title></item><item><author>fromweb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56940-wd20-help-translate-one-statement-activex-56962/read.awp</comments><pubDate>22 Mar 2016 13:14:00 Z</pubDate><description>Hi again&#13;
&#13;
without the documentation of the original tool, it's hard to say...&#13;
&#13;
Did you try with declaring the variable as a …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56940-wd20-help-translate-one-statement-activex-56962/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56940-wd20-help-translate-one-statement-activex-56962/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56940-wd20-help-translate-one-statement-activex/read.awp">[WD20] Help translate one VB statement to WD - activeX</source><title>Re: [WD20] Help translate one VB statement to WD - activeX</title></item><item><author>vvido</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56940-wd20-help-translate-one-statement-activex-56953/read.awp</comments><pubDate>22 Mar 2016 08:42:27 Z</pubDate><description>Thanks for the hint, but it does not work.&#13;
I get the following error when executing the line where the assignment occurs:&#13;
&#13;
Er…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56940-wd20-help-translate-one-statement-activex-56953/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56940-wd20-help-translate-one-statement-activex-56953/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56940-wd20-help-translate-one-statement-activex/read.awp">[WD20] Help translate one VB statement to WD - activeX</source><title>Re: [WD20] Help translate one VB statement to WD - activeX</title></item><item><author>fromweb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56940-wd20-help-translate-one-statement-activex-56947/read.awp</comments><pubDate>21 Mar 2016 16:04:38 Z</pubDate><description>Hi&#13;
&#13;
did you try with declaring a variant and setting the result in it?&#13;
&#13;
Best regards&#13;
&#13;
-- &#13;
Fabrice Harari&#13;
International W…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56940-wd20-help-translate-one-statement-activex-56947/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56940-wd20-help-translate-one-statement-activex-56947/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56940-wd20-help-translate-one-statement-activex/read.awp">[WD20] Help translate one VB statement to WD - activeX</source><title>Re: [WD20] Help translate one VB statement to WD - activeX</title></item></channel></rss>
