PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD19] - Access the Windows Scripting Host
[WD19] - Access the Windows Scripting Host
Iniciado por guest, 18,abr. 2015 12:39 - No hay respuesta
Publicado el 18,abril 2015 - 12:39
Hi All

I wish to access the Windows Scripting Object from WinDev. In VFP I can write this:

TWSH_OBJECT = CreateObject( "WScript.Shell" )

And then call a method of that object like so:

TCLIENT_NAME = TWSH_OBJECT.ExpandEnvironmentStrings( "%clientname%" )

How can this be done in WinDev?

Thanks