IF anyone is interested to see how i solved this, here is the code that i used (sorry i couldnt find who coded this to give proper credit or any comments on it but it is pretty understandable)
<% Function getFileContents(strIncludeFile) Dim objFSO Dim objText Dim strPage
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Set objText = objFSO.OpenTextFile("D:\Inetpub\wwwroot\myrootfolder/" & strIncludeFile)
getFileContents = objText.ReadAll
objText.Close Set objText = Nothing Set objFSO = Nothing End Function %>
<% Dim strMain
strMain = getFileContents("34efa.htm")
Response.Write strMain %>
|
I specified my root folder at the top with the function so all i need to do is include then page other than that everything was pretty much how i found it.
Thanks for all the help that directed me towards this solution
Vtech
