remote access on filesystemobject 
Author Message
 remote access on filesystemobject


I am in such a muddle, I have an error on an asp page that upon searching
the ms support seemed to be a problem acessing remote files using the
filesystemobject, I followed the steps according to

and nothing is any different...same error, same problem

here is my code I am running nt4 server sp 6 with iis and I am TRYING to
publish an asp page containing an activex treeview control.

please help

code follows


   <META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
   <TITLE>Sample Tree Control</TITLE>
   msgbox ("I am here")

   <OBJECT ID="TreeView1" WIDTH=300 HEIGHT=400
       <PARAM NAME="_ExtentX" VALUE="7938">
       <PARAM NAME="_ExtentY" VALUE="10583">
       <PARAM NAME="_Version" VALUE="327682">
       <PARAM NAME="LineStyle" VALUE="1">
       <PARAM NAME="Style" VALUE="6">
       <PARAM NAME="Appearance" VALUE="1">


      TreeView1.Font.Name = "Arial"
      TreeView1.Font.Size = 10


   '************ Create Connection and Recordset **********************

      Set Conn = CreateObject("ADODB.Connection") "BomDat"
      Set rstOffice = CreateObject("ADODB.Recordset")
      Set rstOffice = Conn.execute("SELECT Computers.Domain, Computers.Make,
Computers.Op_sys, Computers.Office FROM Computers")

   '************ Populate the Control ******************************

      Dim tempofficeid
      tempofficeid = ""
      Do While Not rstoffice.EOF 'Check for end of recordset.
         If rstoffice(0) <> tempofficeid Then
     Response.Write "TreeView1.Nodes.Add , , " & Chr(34) &_
                rstoffice(0) & Chr(34) & "," & Chr(34) &_
                rstoffice(1) & Chr(34) & chr(10) & chr(13)
    tempofficeid = rstoffice(0)
   End If

     '********* Add the titles as a child node to the author *****
  msgbox ("and here three")
     Response.Write Chr(10) & "TreeView1.Nodes.Add " & Chr(34) & _
              rstoffice(0) & Chr(34) & ", 4,," & Chr(34) & _
              rstoffice(2) & Chr(34) & chr(10) & chr(13)


Tue, 07 Jan 2003 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Accessing Remote Folders via FileSystemObject

2. how to access remote file using FILESYSTEMOBJECT?

3. accessing remote resources on a remote computer

4. using FileSystemObject FolderExists for remote dir?

5. Remote Ole Server Over remote access connection

6. using FileSystemObject FolderExists for remote driver

7. Remote FileSystemObject

8. FileSystemObject Write to Local Drive from Remote Host?

9. Problem with remote instance of FileSystemObject

10. Problem with remote instance of FileSystemObject

11. FileSystemObject - Remote Server and NFS

12. another remote script error -filesystemobject


Powered by phpBB® Forum Software