Results 1 to 4 of 4

Thread: FileSystemObject

  1. #1
    cEmde Guest

    Default FileSystemObject

    I posted this in the Moderated ASP section put it isn&#039t posted yet and I am kind of in a rush. Any help would be wonderful!<BR>I cannot create a FileSystemObject. The code is:<BR><BR>function BtnJobSelect_onclick() <BR>Dim fso<BR>set fso=createobject("scripting.FileSystemObject")<BR> <BR>I get an error right on the last line. <BR><BR>Error: ActiveX Object can&#039t create object: &#039scripting.FileSystemObject&#039

  2. #2
    Join Date
    Dec 1969

    Default RE: FileSystemObject

    If this is in server side code, you need...<BR><BR>set fso=Server.createobject("scripting.FileSystemObjec t")<BR><BR>

  3. #3
    cemde Guest

    Default RE: FileSystemObject

    Thanks, but it is Not server side code.<BR>Any other ideas?

  4. #4
    Join Date
    Dec 1969

    Default RE: FileSystemObject

    Try this:<BR><BR>Set objFSO = Server.CreateObject("Scripting.FileSystemObject")

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts