PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → [WD19] HTML formatting toolbar in WD
[WD19] HTML formatting toolbar in WD
Débuté par DarrenF, 24 nov. 2014 16:12 - 5 réponses
Posté le 24 novembre 2014 - 16:12
Hi guys,

To allow a user of my WD system to prepare a (HTML based) product description including basic HTML for my system to "send" it to their web site, I have a requirement, where I need a more "advanced" HTML toolbar in WD. In fact, the HTML toolbar in WB (<a class="ExternalLink" rel="nofollow" target="_blank" href="http://help.windev.com/en-US/?9500113&name=AAF_HTML_formatting_toolbar">http://help.windev.com/en-US/&hellip;</a>) looks perfect, but obviously, it's not availabe in WD :-(

Has anyone managed to integrate a better HTML formatting toolbar in WD or managed to do it some other way?

Any ideas gratefully received :spos:
Posté le 24 novembre 2014 - 21:00
Hi Darren,

I evaluated both Nbit and XStandard a while back and IIRC I liked NBit better but I never went ahead with completing the integration of it into my software but probably will at some point. I did get far enough with tests on NBit that I was confident that it would work.

http://nbit.net.au

<a class="ExternalLink" rel="nofollow" target="_blank" href="http://xstandard.com/">http://xstandard.com/</a>

Steve
Posté le 25 novembre 2014 - 09:47
Hi Steve,

Thanks for the info...

I was hoping that I wouldn't have to use an external component to give me the same functionality in WD that WB has! Not sure why WD and WB are different in this respect - why would you PCS think we want less functionality in WD than WB?

I managed to plug in XStandard quite quickly - only problem is, whenever I try to set the ActiveX control to have some default HTML, WDTST fails at the line of code:

WAX_HTMLEdit..Value = gwinvupparDefaultText

I've tried without the "..Value" but still fails :confused:

Error at line 8 of Global declarations of WDWIN_HTMLEditor process. Unexpected system error. If this error systematically occurs in the same conditions, contact PC SOFT Hot Line and specify: - the error circumstances, - a window, a project or the code lines used to replicate the problem, - the details below. Details techniques : Module : combase.dll Adresse de base : 75BD0000 Erreur systeme : Access violation (GPF) EIP = 75C1633B OS : Windows 8 (6.2.9200) ----- Technical Information ----- Project : ObjectPos WL call: Process of 'Global declarations of WDWIN_HTMLEditor' (WDWIN_HTMLEditor), line 8, thread 0 What happened? Unexpected system error. If this error systematically occurs in the same conditions, contact PC SOFT Hot Line and specify: - the error circumstances, - a window, a project or the code lines used to replicate the problem, - the details below. Details techniques : Module : combase.dll Adresse de base : 75BD0000 Erreur systeme : Access violation (GPF) EIP = 75C1633B OS : Windows 8 (6.2.9200) Error code: 1020 Level: fatal error (EL_FATAL) Dump of the error of 'wd190vm.dll' module (19.0.176.4). Identifier of detailed information (.err): 1020 Debugging information: Details techniques : Module : combase.dll Adresse de base : 75BD0000 Erreur systeme : Access violation (GPF) EIP = 75C1633B OS : Windows 8 (6.2.9200) Registres : EIP = 75C1633B EBP = 0018CC00 EAX = 00000001 EBX = 0018CDA8 ECX = 00790073 EDX = 00000010 ESI = 75BD4230 EDI = 00790073 Pile des appels : [combase.dll (75BD0000)] 75C162E5 : CLSIDFromProgID() + 86 bytes [wd190ole.dll (26460000), 19.0.3.0, 01A190044t] 2646869D : WndProcFrame() + 17496 bytes [???] 0061006F Pile invalide Additional Information: EIT_PILEWL : Global declarations of WDWIN_HTMLEditor (WDWIN_HTMLEditor), line 8 Selecting the menu of WM_PUWebDescHTML.WMOPT_Edit_the_HTML (WDWIN_ProductMaintSearchTabs.WM_PUWebDescHTML.WMOPT_Edit_the_HTML), line 3
Posté le 25 novembre 2014 - 12:28
Hi Darren,

have you tried another type of string like UNICODE or ASCIIZ string ?
Posté le 25 novembre 2014 - 13:23
Thanks Stefan :spos:

After delving more deeply into the xStandard documentation, it looks like I may have to apply a registry setting and up the permissions on the .DLL

I'll see if this helps... and update the post with my findings...
Posté le 25 novembre 2014 - 19:26
Hi Darren,

There is also TextControl which does way more that simple HTML. We will buy the ActiveX version in a week or so. <a class="ExternalLink" rel="nofollow" target="_blank" href="http://www.textcontrol.com/en_US/products/activex/overview/">http://www.textcontrol.com/en_US/products/activex/overview/</a>

The demo verison is broken in WinDev. But we had a try on a full version and it worked perfectly. We tried the .Net version which is free but were not able to make it work. It would have been great.

Best regards,
Alexandre Leclerc