I have this code
Code:
startPath = "this\is\some\file\path\"
Set objSFSO = CreateObject("Scripting.FileSystemObject")
Set objSFolder = objSFSO.GetFolder(startPath)
If you go to the page it works fine. This is held within a page that is processing a form. If when you submit the form you get a back message, press the back button, then resubmit the page again it gives me a "path not found" error. Makes no sense since nothing from either page alters this path, and these 3 lines are in the page exactly as shown. i get the error on line "Set objSFolder = objSFSO.GetFolder(startPath)". This error will keep happening until you reopen the site in a new browser.
Anyone heard of this?
side note: The page should have error checking that tells you to use the back button, i think its a dumb idea anyway. This site is a major revision to an existing site that had it coded this way. if it were up to me i would have the page call itself, run error checking, and display the * or an image next to bad fields. I would recreate the whole page but tomarrow is my last day at this job so i'm looking for a quick fix. Start a new job monday 
Last edited by The_Anomaly; 03-28-2007 at 05:39 PM..
|