There was a utility I used a long time ago which would help me programmatically create pages by taking html code and putting it in a Response.Sendln[html code] so I could use the html code in my functions to generate a page. Not sure what it was called and where I would get it. I know it was free.
Not sure what you're describing. Need more detail of what that did.
Are you talking about using templates?
which render HTML from html stored in files.
There's also various Html Helpers like:
That can generate HTML for common 'components'. The latter is not old however.
+++ Rick ---
Please repost with formatting... (see instructions around the message area). You can edit your message and post it again.
+++ Rick ---
This utility just put Response.Sendln around html code - that way the html code could be used by foxpro functions to present a html page,
Response.Sendln([<table border="0" cellpadding="0" cellspacing="0" width="816">])
Response.Sendln([<!-- fwtable fwsrc="New_Apex_Second_Page_Nonworking_Buttons.png" fwbase="New_Apex_Second_Page_Nonworking_Buttons.gif" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="1" -->])
Response.Sendln([ <tr>])
Response.Sendln([ <td colspan="9"><img name="NASPNB_r1_c1" src="http://www.apexbackgroundcheck.net/New_Apex_Second_Page_Nonworking_Buttons_r1_c1.gif" width="816" height="8" border="0"></td>])
Response.Sendln([ </tr>])
Response.Sendln([ <tr>])
Response.Sendln([ <td rowspan="8"><img name="NASPNB_r2_c1" src="http://www.apexbackgroundcheck.net/New_Apex_Second_Page_Nonworking_Buttons_r2_c1.gif" width="31" height="94" border="0"></td>])
Response.Sendln([ <td><table border="0" cellpadding="0" cellspacing="0" width="84">])
I'm not quite sure what you're asking. Are you saying you want that same functionality?
In that case you can use:
Response.Write(lcHtml)
Response.WriteLn(lcHtml2)
FWIW if you do this in code you can also use the TEXTMERGE
command
lcMessage = "Hello cruel world!"
TEXT TO lcHtml NOSHOW TEXTMERGE
<html>
<body>
<h1><< lcMessage >></h1>
<p>Time is: <b><< Time() >></b>.
</body>
</html>
ENDTEXT
Response.Write(lcHtml)
Or as previously mentioned even better if you store your HTML externally using scripts or templates with embedded FoxPro expressions or code using Response.ExpandScript()
or Response.ExpandTemplate()
.
+++ Rick ---
Most Word Processors have the ability to save a document in HTML format. The biggest drawback is they enter a lot of extra elements and don't create a very nice looking source code.
There were also a number of products on the market years ago, Dream Weaver, HomeSite and FrontPage all come to mind but I think I'm dating myself if I were to add anymore to this list... lol
Oh - now I see what you're talking about.
Yes that still exists it's in the tools
folder and on the Web Connection menu. Text Wrapper is what you're looking for.
+++ Rick ---
When I install WC (4.68 or earlier) the install program lets me test from the local host by means of the Hello World page. Someone else set up my WC on a new server but something is wrong. I want to see if the Hello World page can be displayed. How do I do this after the WC has been set up.
Not sure what you're asking...
Start the Web Connection server in FoxPro and then go to http://localhost/wconnect
.
For more detailed information how to get started look in your help file. Since your version is 20+ years the help file will be the only place where you can find reasonably accurate information since newer versions all are quite different.
+++ Rick ---