Creating A Directory Tree With ASP
I'm looking for script where I can enter the location of a folder and a directory tree(folding list) is displayed containing all subfolders and files. I want to select a file from this directory tree and delete it. I can't seem to find what I want on the net.Can someone shed some light, please?
View Replies
ADVERTISEMENT
I want to create a Expandable and Collapsible Directory Structure Tree. So that it looks at a folder from a path i give it and shows all directories and files underneath it.
This sub directories needs to be expandable and collapsable and when i click on on of the options it will bring a select box up by the side of this giving options. ie edit page.is this clear?
View Replies
View Related
I have a function that creates a new Virtual Directory. I would like to alter this function so that it sets a few properties on this new virtual directory, namely I want to make it so "Execute Permissions" are set to "Scripts Only" (currently this defaults to "None".
Also I want to make the new virtual directory an application (as if I created
the virtual directory manually and clicked the "Create Application" button on the vd properties. Code:
View Replies
View Related
I have written a script to update user information in the Active Directory using ADSI. Here is part of it:
Set User = GetObject("LDAP://<GUID=" & GUID & ">")
User.Department = DepartmentName
User.SetInfo
Set User = Nothing
This works fine unless DepartmentName is an empty string ("").
Then I get error 0x8007200B: "The attribute syntax specified to the directory service is invalid."
This happens with all the attributes I have tried, including TelephoneNumber
.
Do I need to delete the value of the attribute instead of setting it to an empty string? If so, how do I do it?
View Replies
View Related
im required to develop a simple expert system, like an animal guessing game where the questions, answers and rules are stored in the database. But the problem is i dont know what is needed to design the database and how it relates to each and other.
View Replies
View Related
is it possible to have an asp menu tree? or possible to swap an inc though a link click
View Replies
View Related
I actually want tree view which can dynamically display
all the child nodes(undifinte) dynamically.
View Replies
View Related
I really need a Classic ASP based Tree Script in which we can add,edit,delete parent,child or sub-child name from the tree..
View Replies
View Related
if i want to make or build a Family Tree ,, which programming language i can use to do it ? and put in web site ..
View Replies
View Related
how can i built a tree view component in asp then tree view node values are get from data base. if any one know pls explain, how it possible?
View Replies
View Related
I really need a Classic ASP based Tree Script in which we can add,edit,delete parent,child or sub-child name from the tree
View Replies
View Related
Looking for sample code in asp or asp.net which uses two trees the left hand tree having all levels and leaf nodes and the right hand tree containing only levels.
Buttons in the middle to "move" levels or nodes around, add new levels, rename levels or delete levels.
Everything working off a table with parent/child type relationship.
View Replies
View Related
I'm creating a tree menu that uses FSO to read folders, subfolders and
files. I'd like for each folder to have capabilty of being either Level
1,2,3,4 or 5 security. The 5 Levels are my security levels with 5 being
Admin.
I'm looking for any advice on how to go about this. I was thinking of
creating a hidden text file within each folder and storing the folders
security level in it, then let asp read the text file as it builds my tree
and display the appropriate folder icon representing Level 1,2,3,4 or 5
security.
Anyone go a better idea? Perhaps an XML tree
View Replies
View Related
i have a folder tree view problem?how to write a code that can view folder and file like window explorer? is java script or asp can do this?
View Replies
View Related
I am trying to create a xml tree using sql server 2000 and asp 3.0 i am looking for a code for it .
View Replies
View Related
I am working my way through Kevin Yanks tutorials on C# and object orientation, and I got stuck at the tree example.
Link to article
When I try loading http://xxx.xxx.xxx.xxx/tweb/test2/PlantTrees.aspx in my webbrowser I get this error message: Compiler Error Message: CS0246: The type or namespace name 'Tree' could not be found (are you missing a using directive or an assembly reference?)
I do however have the Tree.dll file in the bin folder, and it is lookin exactly like its supposed to.
When I try loadinghttp://xxx.xxx.xxx.xxx/test2/PlantTrees.aspx, however, the program works perfectly. (notice the difference in the URL's)
Why is that? Anyone know? Why do I have to remove the root folder name from the url to make it work??
View Replies
View Related
I have tree variants, representing day, month and year. I need to put it into a recordset object with DATE format. How is the sintax?
View Replies
View Related
Can any one give an example for handling a tree view
web control event, inside an asp.net application?
I am able to build a tree view using this control on an asp.net web form (on
page load) but can not handle its events later on
html tag includes the reference to the event handler and looks like this:
<iewc:treeview1 id="treeview1" runat="server" Expand = "treeview1_expand">
then the aspx.vb file includes the treeview1_expand() code:
Public Sub TreeView1_Expand(ByVal sender As Object, ByVal e As
Microsoft.Web.UI.WebControls.TreeViewClickEventArg s) Handles
TreeView1.Expand
this file also includes a withevents declaration for treeview1.
View Replies
View Related
I am trying to generate a tree view in asp 3,0 using sql server.Whats happening is its not pulling the data from the database i can only see folders and the gifs but not the actual data. Code:
View Replies
View Related
I have written a code for Tree view in asp using database but it works fine in IE and it doesnt work in open source browsers means mozilla,netscape can someone tell me a link where i can get the code which works fine in IE,Mozilla ,Netscape.
View Replies
View Related
Anybody have any experience of a decent explorer style tree view system which is database driven?At the minute I'm using ASP Tree View (www.CompuSolve-Technology.co.uk) but it's not really the best.It has to work with a database (MS SQL Server).
View Replies
View Related
I need to find the total number of nodes in a binary tree structure, Also need the the leftside and right side separately.
View Replies
View Related
I am looking for a software that can generate a tree of data. For example, I am trying to track real estate relationships like a lessor, tenant, general contractor, and subcontractors. I would like a visual representation of this relationship based on the values in my database showing the hierarchy much like a site map or family tree. Can anyone recommend how I could do this or suggest a software?
View Replies
View Related
I have a list of broad categories. For example:
Pacific
Central
Eastern
Each of them are preceded by an option button. After the text, there is a plus sign. (this means that I can click on the + sign and then drill down further). For instance:
Pacific
California
Nevada
Oregon
Central
Eastern
Similarly, if I want I can drill down California, if I want to.
Now my question is:
How can I drill down each of them without refreshing the page ? Every time I click on the + sign, the whole page refreshes and then I have to scroll down to see the break down list of the hierarchial tree.
Please suggest ways of doing this dynamically. How can I expand my hierarchial list without having to lose the focus on my hierarchial option tree?
View Replies
View Related
im brand new to ASP and all but at school they want a webpage and they wont support PHP which is what i know so i need to figure out how to show everything under a directory then if sub folders have them link to that folder
View Replies
View Related
I would like to do something like this:
<!--#include file="C:dbutilsdbConfig.asp"-->
Where the directory C:dbutils is OUTSIDE of the web directory and not
accessible by a client web browser.
The reason I would like to do this is in case somehow ASP processing
gets turned off in IIS. Since "dbConfig.asp" contains a
username/password for the database, I don't want this file to somehow
get sent back to a client browser as plain text.
Two questions:
1) is it possible to use an include file that is outside of the web
directory?
2) is there even any way that ASP processing can be turned off?
perhaps not explicitly, but maybe via malicious code or virus?
View Replies
View Related
Does anyone know if it's possible to convert files to .pdf format through ASP? or better yet, does anyone know of a utility that can take a directory of word documents and form one pdf file with the contents?
View Replies
View Related
I've been playing with the script at http://www.asp101.com/samples/dir_list.asp
What I want to know is if the script can be changed to 'read' from the dir it 'loads' from..
So I can just put the script is heaps of folders without having to edit the 'strPath' for each.
View Replies
View Related
I have an Intranet site sitting on an Windows XP server, which has IIS 6.0 installed. This Intranet site contains a virtual directory (VD), which sits on a second server and has Windows 2000 installed.
To test how a virtual directory would work for this particular Intranet site, I had previously set up the VD on the web server. Everything worked well...no errors.
Once testing was complete and the location of the VD changed to the second server, I have been receiving the following error:
Microsoft VBScript runtime error '800a004c'
Path not found
I understand what this error is saying, but I was wondering if anyone knows of any problems between IIS 6 being on a XP server and the VD on a 2000 server and any possible implications.
View Replies
View Related
Is it possible to read the all filenames from a directory? Basically I want to grab all the filenames from a directory and make a flat file with all the values in it.
View Replies
View Related
I'm trying to create my own browsing window for a directory on my webserver. I can access the root the directory and the first sub-directory but anything lower than that I get "path not found". I'm almost sure the problem is attaching the selected directories names on to the objFSO.GetFolder line.
I used the Mid function to get my selected directories. I can't figure out how to add the selected directories to the objFSO.GetFolder line. Code:
View Replies
View Related
I'm trying to protect a directory from users not logged in.
Let say i'm trying to protect a direcory called files.
I only want the user to acces the files when they've logged in.
http://www.sitename.com/files/filename.doc
Even though they know the name and path i want to prevent people from downloading the files.
I don't want the user to be able to send out the link to another friend without logging in.
Is this possible i'm using a wiindows server.
View Replies
View Related
I am using CDONTS with winnt and all the sent emails are sitting in the QUEUE directory in c:inetputmailroot.
View Replies
View Related