Well, it sounds like all of your problems can be solved by simply having
your utility store the files it creates in a folder on your web server.
Since the links in it are all relative, they should work fine, as long as
the relative positions of the files remain the same, unless the links begin
with "file://" in which case you could easily search and replace such links
with proper links.
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
"vandalo" <an*******@discussions.microsoft.com> wrote in message
news:C1**********************************@microsof t.com...
Ok, I am sorry ... I'll try to explain better.
If you get a PPT file and save it to the disk using the "save as web
page..." you have the main page and a folder which contains all the support
files. The main HTML page contains a client-script (javascript) which loads a
frameset. I have a services which does this conversion on another machine (which is
not the web server) and save those files on the filesystem. My ASP.NET application use a page which loads the HTML file and render it
to the browser. If the HTML page to render has no other support files everything works
fine but, when I have other scripts or HTML pages involved, I can't render.
My ASP.NET page
HttpContext.Current.Response.Clear()
HttpContext.Current.Response.ClearHeaders()
HttpContext.Current.Response.ClearContent()
srFileHtml = File.OpenText(<html file to load>)
_BufferHtml = srFileHtml.ReadToEnd()
srFileHtml.Close()
HttpContext.Current.Response.ContentType = "text/html"
HttpContext.Current.Response.Write(_BufferHtml)
HttpContext.Current.Response.Flush()
HttpContext.Current.Response.End()
Thanks in advance for your help
Alberto