PDA

Click to See Complete Forum and Search --> : Executing, Calling or possibly generating an HTML document


Kaisertod
Feb 28th, 2002, 03:53 PM
Arrrrgh, Im hoping someone can help me here. I am writing a windows app that needs to pull up an HTML page from another folder (one of around 6000) I am an experienced web app builder, but I have no idea how to do this in straight VB. SO here is the scenario...

I am pulling in a dataset from an access database and one of the fields actually holds all of the HTML to generate the page I need displayed. Is there a way to stick that HTML into a blank formatted page so as to pull it directly from the database and generate it on the fly? If so, this would be the ideal way to pull this off for me. My assumption is that it is not feasible without usinig a web server to do the building (like you would do it with ASP) So.... I would think that I would have to actually pull a pre-generated HTML file from another folder. The problem is, I have no idea how to do this. I need it to happen when a certain button is clicked. I have no problems assigning the criteria for pulling up the HTML file dynamically, I just dont know how to call the ACTUAL html file. Any help would be GREATLY appreciated!!

TIA,

kaisertod

Kaisertod
Feb 28th, 2002, 05:02 PM
Well, I got part of the solution figured out... its easy to call the exisitng HTML file using the shell command and passing the argument to IEXPLORE.EXE... however, I would MUCH rather create an HTML file from the already formatted HTML data which is contained in the database. So, Im still looking for any ideas on how to do this...

I would appreciate ANY input at all,

Thanks,

kaisertod