Solved

help with app to display files and open when clicked.

Posted on 2004-04-24
5
291 Views
Last Modified: 2010-04-15
Could anyone advise me on the best one to do the following:

I have 4 computers run windows xp pro, they are connected to each other using windows peer-to-peer. One computer has a group of file (word, excel, pdf) which are company procedures and information. These are setup in a structure of folders like a filling system. What I would like to do is design an app that could display a list of these folders in a treeview. When the file is clicked on it would open inside the app rather that opening in word or excel ect (somethig like windows explorer but with the files opening in the right pane). I have tried designing a web site, which worked well, but I could not find a way to display the list of folders and files easily. I would also like to use passwords to allow users limited access to certain file. Is this possible.

Thanks  
0
Comment
Question by:tristonmd
  • 2
  • 2
5 Comments
 
LVL 10

Expert Comment

by:eternal_21
ID: 10909877
This is possible but I see that you have two tasks here.  First is to design a c# Windows Application that can display files in a directory, and open Microsoft Office documents.  Second is to set up some type of security for these files.  It is possible to set up NTFS file permissions using Windows XP Professional.  You could set up IIS on this workstation an access these files through a web site instead of Microsoft File Sharing services.  The advatage in doing that is that users can connect to the IIS server, and authenticate, where with file sharing across the network, you are going to need to log off, and log on with different network credentials to change security access (not a problem if your users all use different passwords).  The disadvantage is it will be a bit more work.
0
 

Author Comment

by:tristonmd
ID: 10909958
I think I will start with the first task. Would you have any idea how I can open these file in the app. Could I use a richtextbox?
0
 
LVL 23

Expert Comment

by:rama_krishna580
ID: 10910366
0
 
LVL 10

Accepted Solution

by:
eternal_21 earned 500 total points
ID: 10910837
rama_krishna580,

  You have me very curious... what search engine do you use?

tristonmd,

  Following is a link to a MSKB article.  It is fairly straight-forward, but if you have any questions, let me know.

  HOWTO: Use the WebBrowser Control to Open Office Documents with Visual C# .NET
  http://support.microsoft.com/default.aspx?kbid=304662
0
 

Author Comment

by:tristonmd
ID: 10911122
Thanks, this works great.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Syntax Error 2 62
open System.IO.Compression.ZipArchiveEntry as ZipFile without storing to file 2 56
Reference issues in Visual Studio 3 29
MediaHelp 4 21
Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now