View Single Post
  #3 (permalink)  
Old April 14th, 2004, 04:45 PM
pauldoh pauldoh is offline
Registered User
 
Join Date: Apr 2004
Location: , , Ireland.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

According to Microsoft the Server.Execute method does not have any return values.

I found this to work

public function myfunction
on error resume next

Server.Execute "somefile.asp"
if err.number <> 0 then
 response.write "an error occurred"
 err.clear
end if

end function


Reply With Quote