473,387 Members | 1,859 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Need help displaying file structure

BW
We have a directory on our network where we keep pictures for all of our
customers. They utilize a directory structure to keep them organized. I
would like to have the clients be able to log onto a webpage and view their
files. What is the best way to accomplish this? Each client could have
several subdirectories below them.

Thanks
BW
Apr 12 '07 #1
3 1151
Use a treeview control and recurse through the directories, picking out
those files that have *.jpg, *.gif, *.png as the extension, etc. When you
encounter an image, create an image node on the tree; when you encounter a
directory, use a directory icon of some kind.

--
~~~~~~~~~~~
Ben Rush
http://www.ben-rush.net/blog
"BW" <ba****@hotmail.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
We have a directory on our network where we keep pictures for all of our
customers. They utilize a directory structure to keep them organized. I
would like to have the clients be able to log onto a webpage and view
their files. What is the best way to accomplish this? Each client could
have several subdirectories below them.

Thanks
BW

Apr 12 '07 #2
BW
Do you have a good weblink on how to accomplish this? One with some
samples?

Thanks
BW

"Ben Rush" <kw*****@yahoo.comwrote in message
news:Op**************@TK2MSFTNGP06.phx.gbl...
Use a treeview control and recurse through the directories, picking out
those files that have *.jpg, *.gif, *.png as the extension, etc. When you
encounter an image, create an image node on the tree; when you encounter a
directory, use a directory icon of some kind.

--
~~~~~~~~~~~
Ben Rush
http://www.ben-rush.net/blog
"BW" <ba****@hotmail.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
>We have a directory on our network where we keep pictures for all of our
customers. They utilize a directory structure to keep them organized. I
would like to have the clients be able to log onto a webpage and view
their files. What is the best way to accomplish this? Each client
could have several subdirectories below them.

Thanks
BW


Apr 12 '07 #3
Hi. Try this: http://www.ben-rush.net/blog/PermaLi...8bcecbb&dotnet.

Ben
On Apr 12, 8:36 am, "BW" <bas...@hotmail.comwrote:
Do you have a good weblink on how to accomplish this? One with some
samples?

Thanks
BW

"Ben Rush" <kwen...@yahoo.comwrote in message

news:Op**************@TK2MSFTNGP06.phx.gbl...
Use a treeview control and recurse through the directories, picking out
those files that have *.jpg, *.gif, *.png as the extension, etc. When you
encounter an image, create an image node on the tree; when you encounter a
directory, use a directory icon of some kind.
--
~~~~~~~~~~~
Ben Rush
http://www.ben-rush.net/blog
"BW" <bas...@hotmail.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
We have a directory on our network where we keep pictures for all of our
customers. They utilize a directory structure to keep them organized. I
would like to have the clients be able to log onto a webpage and view
their files. What is the best way to accomplish this? Each client
could have several subdirectories below them.
Thanks
BW

Apr 13 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Karl Smith | last post by:
Headless <invalid_address@dna.ie> wrote in reply to Christoph Paeper <crissov@gmx.net>: > Semantically <span>this</span> is 100% identical to: > Semantically <div>this</div> is 100% identical...
0
by: Lokkju | last post by:
I am pretty much lost here - I am trying to create a managed c++ wrapper for this dll, so that I can use it from c#/vb.net, however, it does not conform to any standard style of coding I have seen....
2
by: RAJ | last post by:
In our multi-tier application, we have several ASP.NET user controls which will update the same data source provided by middle tier logic. In this particular scenario we have one user control...
36
by: sonnystarks | last post by:
I am trying to learn HTML and have obtained several books on the subject. However, I am confused with the proper way of going about it as most of these books give me the basic tags and then say...
8
by: skumar434 | last post by:
i need to store the data from a data base in to structure .............the problem is like this ....suppose there is a data base which stores the sequence no and item type etc ...but i need only...
5
by: Y2J | last post by:
I am working through this book on C++ programming, the author is speaking of using linked lists. He gave and example which I found confusing to say the least. So I rewrote the example in a way that...
2
by: Mark Rae | last post by:
Hi, Just looking for some advice and/or recommendations here. Scenario is corporate private intranet, ASP.NET 2 on Win2K3S, SQL Server 2005, WinXP + IE6 on all client desktops. Client has a...
4
by: John Smith | last post by:
Hello, I'm not sure if these are the appropriate forums for my question since it is closer to about Visual Studio 2005 than it is about .NET framework. So please pardon me and direct me to a...
38
by: ted | last post by:
I have an old link that was widely distributed. I would now like to put a link on that old page that will go to a new page without displaying anything.
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.