The zip file viewhtml.zip should contain the following:
readme.txt - this file
htmlwin.exe - the executable
viewhtml.txt - an ascii DeScribe macro
mym30lb.dll - Visual Age C++ dll
HOW TO USE
--------------------
First, YOU MUST HAVE "webexwin.dll" IN YOUR LIBPATH.
Also, you must copy "mym30lb.dll" to a directory in you LIBPATH.
The parameters for htmlwin.exe follow:
"file:///c:/html/html.html" - the name of the html file to view ( without quotes )
"delete" - tells the program to delete the html file at exit ( useful for the macro )
So, to run htmlwin.exe from the command line, use something like this:
htmlwin.exe file:///c:/html/html.html
Now, for the macro. First, the macro COPIES the currently viewed file to an ascii file called "c:\html\htwintmp.htm". You can change this to point to whatever directory you keep your html files and images in. This lets you view the files more or less as the browser sees them.
Then, the macro runs htmlwin.exe, passing the parameter "delete", to automatically delete the temp file on exit, and the filename as a URL, not as a regular OS/2 - DOS path.
This must be a full URL path to the file, as the executable parses this name to see what file to delete on exit.
The "delete" parameter lets you run the macro many times in the same session, without having to go and delete your temp file manually.
NOTES
-------------------
This program uses the file "webexwin.dll" ( not included ), which must be in your LIBPATH.
This program uses the file "mym30lb.dll" ( included ), which must be in your LIBPATH.
This program uses only one function from the webexwin.dll, to load the file. I hope this means that, as the WebExplorer is improved ( JAVA? ), htmlwin.exe can stay the same.
IN THE FUTURE
-------------------
I'll add a status bar to the window, that shows where a link points to. That will probably be it, I don't want to turn this thing into a full fledged browser.
If someone comes up with an EPM macro, or any other macros that use this window, please send them to me, and I'll add them to the distribution.
CONTACTING ME
------------------
If you have any problems, or have ideas for improvements, please tell me. You can reach me at: