View Single Post
  #7 (permalink)  
Old September 8th, 2003, 11:17 PM
melvik melvik is offline
Friend of Wrox
Points: 3,558, Level: 25
Points: 3,558, Level: 25 Points: 3,558, Level: 25 Points: 3,558, Level: 25
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: California, USA
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

I've worked on ASP 3.0 for a short time & with JavaScript! so I cant help u for ur VB-Script ASP pages!!!
But I get something strang in ur all pages! u comment them all by
Code:
<!-- Comment to prevent display
& no page has <HTML> & <BODY> tags. WHY?!?! I think u have HTML problem not ASP or ...
Im going to send u a sample simple ASP page & hope u'll get the point!
Code:
<%@ language="VBScript" %>
<% option explicit %>
<html>
<head>
 <title>Folder finder</title>
</head>
<body>
 <%
   Dim ObjFSO, objFile
   set ObjFSO = Server.CreateObject("Scripting.FileSystemObject")
   if NOT ObjFSO.FolderExists(Server.MapPath("/hovik")) then
            Response.Write("Sorry, Folder does not EXIST!!!")
     else
   set objFile = ObjFSO.GetFolder(Server.MapPath("/hovik"))
%>

   [u]Attributes:</u> <%= Response.Write(objFile.Attributes) %><br>
   [u]DateCreated:</u> <%= Response.Write(objFile.DateCreated) %><br>
   [u]DateLastAccessed:</u> <%= Response.Write(objFile.DateLastAccessed) %><br>
   [u]Drive:</u> <%= Response.Write(objFile.Drive) %><br>
   [u]IsRootFolder:</u> <%= Response.Write(objFile.IsRootFolder) %><br>
   [u]Name:</u> <%= Response.Write(objFile.Name) %><br>
   [u]Path:</u> <%= Response.Write(objFile.Path) %><br>
   [u]ShortPath:</u> <%= Response.Write(objFile.ShortPath) %><br>
   [u]Size:</u><%= Response.Write(objFile.Size) %><br>
   [u]Type:</u> <%= Response.Write(objFile.Type) %><br>
<%
    end if
   set ObjFSO = nothing
   set objFile = nothing
 %>
</body>
</html>
Always:),
Hovik Melkomian.