WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Samples from Users
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

HTML Editor


As I always feel like I get more from this Board than I ever contribute I like to look for ways to provide something once in a while that I think may be of use...

Here is a simple HTML Editor that can be placed within a web browser control within a dialog. Nothing fancy but it does provide a way to create/edit formatted text from within a dialog. I assume that with a little tweaking one could convert the HTML files to other formats on the fly and still maintain most of the formatting.

Here is the link to the original information.

http://msdn.microsoft.com/workshop/author/editing/tutorials/html_editor.asp

I've added and removed a few buttons along with a few other adaptations. The file open/save/new buttons required a licensed ActiveX control so I removed those. That really isn't an issue though because I wanted to control that information from within the WinBatch Dialog.

The html_editor.htm file contains the scripting for the editor.

One can, obviously, take this and expand the Dialog and make use of other controls. I've kept it to a bare minimum for demonstration purposes.

Hmmmmm....what else might you want/need to know...

Search for resize in the html_editor.htm file to change the size of the editor.

Search for browsercreate(HTM_Handle,5,30,740,370) in the html_editor.wbt file to change the location/size of the browser in the Dialog.

I think the rest is fairly standard WinBatch Stuff.

Again, thanks to Guido for the web browswer code.

Enjoy.

Jim Taylor

HTML_EDITOR.ZIP


Article ID:   W17225
File Created: 2019:08:14:09:27:32
Last Updated: 2019:08:14:09:27:32