PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV (versões anteriores) → [WD5.5]Ole object Notepad
[WD5.5]Ole object Notepad
Iniciado por patrickv, fev., 09 2006 2:51 PM - Sem resposta
Publicado em fevereiro, 09 2006 - 2:51 PM
Hi all,
I want to write to a textfile using Ole, for example notepad, to create an xml file.
But when I want to create the object, I get the message that it couldn't be created.
Is it possible to create an Ole object to Notepad?
This is my code
xmlObj is object ole dynamic
:xmlObj = getactiveobject("Notepad.application")
if :xmlObj = null then
:xmlObj = new object ole "Notepad.application"
END
Must I use DDe instead?
I know that in WD7.5 and later, this option is standard to make an xml file, but we have a customer working with an application in WD5.5, and now he wants some xml files.
Regards,
Patrick