html in textbox

Hi

How do I open an html file inside a textbox

 

this doesnt work               thisform.veld14.Value = c:\winvis\htmlbody.htm

 or can I make some kind of field inside my form to load the html page in

 



Answer this question

html in textbox

  • aao123

    Internet Explorer ActiveX is great for viewing HTML Docs But,If you want the html code in the text box use:


    thisform.veld14.Value = FILETOSTR(c:\winvis\htmlbody.htm)

    If you need to edit the HTML in an Html Editor Use the DHTML Control.

    Dave M.

     



  • wbartussek

    Woops...

    Dave M.



  • Jude Landry

     Dave M. wrote:
    thisform.veld14.Value = FILETOSTR("c:\winvis\htmlbody.htm")

    I see Dave. I probably misunderstood what he wanted to do.

    Note: make sure there are quotes around the FILETOSTR parameter.


  • ClarkMe

    Use the Internet Explorer ActiveX Control.

    See: "Create a Visual FoxPro web browser" in the FoxPro Foundation Classes (easily accessible through the Component Gallery or the through the Task Pane).


  • html in textbox