CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2002
    Posts
    372

    running a file from memory

    hi guys,

    is there a way to load an html file to memory and runnign it in memory ?

    thanks

  2. #2
    Join Date
    Nov 2006
    Posts
    1,611

    Re: running a file from memory

    html files aren't executed, they're rendered.

    Essentially, given an html renderer (and ActiveX in Windows as an example), then all such display is the act of loading the html in memory and rendering it, which in turn may cause the loading of resources, like images, or the execution of scripts, etc.

    There are numerous methods to do that, but a lot depends on your chosen framework and the compliance requirements (html has many versions and tributaries that require various levels of support from the renderer).
    If my post was interesting or helpful, perhaps you would consider clicking the 'rate this post' to let me know (middle icon of the group in the upper right of the post).

  3. #3
    Join Date
    Feb 2007
    Posts
    43

    Re: running a file from memory

    If you program in VS2008 using Forms, there is a WebBrowser control that you can drag and drop onto your form. You don't even have to load the webpage yourself-- just provide the WebBrowser object with the address.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured