PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV (précédentes versions) → [WD5.5]Ole object Notepad
[WD5.5]Ole object Notepad
Débuté par Patrick Vandebroek, 09 fév. 2006 14:51 - Aucune réponse
Posté le 09 février 2006 - 14:51
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