|
| Inicio → WINDEV 2024 → Missing property in cWord class in WD Controlling Word example |
| Missing property in cWord class in WD Controlling Word example |
| Iniciado por software, 14,mar. 2016 11:32 - 2 respuestas |
| |
| | | |
|
| |
Miembro registrado 27 mensajes |
|
| Publicado el 14,marzo 2016 - 11:32 |
The example "WD Controlling word processor" doesn't work properly, i try to use the Find/Replace button, on debugging i get following error messages:
'Execute' Automation method called. Attempt to invoke <Execute> method or to read <Execute> property. Error returned by Automation/ActiveX object: 'Erreur 800A11FD : Deze opdracht is niet beschikbaar.' Attempt to invoke <Execute> method. Error returned by Automation/ActiveX object: 'Erreur 800A11FD : Deze opdracht is niet beschikbaar.' Attempt to read <Execute> property. Error returned by Automation/ActiveX object: 'Erreur 800A16E6 : Execute is geen eigenschap.' Attempt to write <Execute> property. Error returned by Automation/ActiveX object: 'Erreur 800A16E6 : Execute is geen eigenschap.
It seems that the Poperty "Execute" is missing in the class cWord ?
Has anybody a solution please, i want to implement this in my project ?
Thanks,
Eric |
| |
| |
| | | |
|
| | |
| |
| Publicado el 14,marzo 2016 - 15:46 |
Hi Eric
On what lines of code do you get this error?
Best regards
-- Fabrice Harari International WinDev, WebDev and WinDev mobile Consulting
Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM (open source)
More information on http://www.fabriceharari.com
Contact me at: Email: fabrice@fabriceharari.com Skype ID: fabriceharari Tel # in the USA: +1 985 746 1422 Tel # in France: +33 970 444 445 (local number 0970 444 445)
On 3/14/2016 5:32 AM, ERICS wrote:
The example "WD Controlling word processor" doesn't work properly, i try to use the Find/Replace button, on debugging i get following error messages:
'Execute' Automation method called. Attempt to invoke <Execute> method or to read <Execute> property. Error returned by Automation/ActiveX object: 'Erreur 800A11FD : Deze opdracht is niet beschikbaar.' Attempt to invoke <Execute> method. Error returned by Automation/ActiveX object: 'Erreur 800A11FD : Deze opdracht is niet beschikbaar.' Attempt to read <Execute> property. Error returned by Automation/ActiveX object: 'Erreur 800A16E6 : Execute is geen eigenschap.' Attempt to write <Execute> property. Error returned by Automation/ActiveX object: 'Erreur 800A16E6 : Execute is geen eigenschap.
It seems that the Poperty "Execute" is missing in the class cWord ?
Has anybody a solution please, i want to implement this in my project ?
Thanks,
Eric |
| |
| |
| | | |
|
| | |
| |
Miembro registrado 27 mensajes |
|
| Publicado el 14,marzo 2016 - 17:32 |
Hi Fabrice,
On debugging the FindReplace procedure , see the :ErrorMsg(...) :
PROCEDURE FindReplace(sSoughtString, sStringThatWillReplace)
// check the selection WHEN EXCEPTION IN :m_pautWord>>Selection DO Info("Select a section of text.") RETURN END
WHEN EXCEPTION IN :m_pautWord>>Selection>>Find>>Execute(sSoughtString,False,True,False,False,False,True,1,False,sStringThatWillReplace,2) // 1: WdFindContinue // 2: WdReplaceAll DO :ErrorMsg("Unable to perform Find/Replace.",ExceptionInfo()) RETURN END
Thanks, Eric |
| |
| |
| | | |
|
| | | | |
| | |
|