473,670 Members | 2,298 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1161
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******** ********@TK2MSF TNGP02.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******** ******@TK2MSFTN GP06.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******** ********@TK2MSF TNGP02.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******** ******@TK2MSFTN GP06.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******** ********@TK2MSF TNGP02.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
2192
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 to: > Semantically this is 100% identical to: Ah yes, "semantics," the false god of the CIWAHians and other kooks who don't understand that one marks up *structure*.
0
3932
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. It is almost like it is trying to implement it's own COM interfaces... below is the header, and a link to the dll+code: Zip file with header, example, and DLL:...
2
4332
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 displaying the contents of the data source, whilst another control updates the datasource via a command buttons implementation of 'Click', an event raised in the 'Handle Postback Events' stage of the control execution life cycle (via the...
36
3024
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 they will soon be deprecated and advise using CSS stylesheets. Which comes first? Do I learn the old tags and then "upgrade" to CSS or just bypass the old tags and learn only the CSS procedures. Doesn't one have to understand the old tags to use...
8
2737
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 the sequence nos and it should be such that i can access it through the structure .plz help me .
5
3362
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 I could better understand the concept, he was trying to convey to me. I ran my own example and it crashed and burn "what a surprise!" : (. I ran the authors example out of the book and quess what, it crashed also, : 0. I ran them both on my...
2
2881
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 folder structure on a separate file server (which the IIS box can see) containing many corporate documents (in PDF format) arranged in subfolders e.g.
4
1876
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 different forum if I made a mistake. In any case, thank you for spending the time to read this loooong case and/or for your input. With that said, here's the background of the situation:
38
5059
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
8814
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8661
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7419
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5684
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4211
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4391
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2800
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2042
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1794
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.