Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 298
  • Last Modified:

help with app to display files and open when clicked.

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
tristonmd
Asked:
tristonmd
  • 2
  • 2
1 Solution
 
eternal_21Commented:
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
 
tristonmdAuthor Commented:
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
 
eternal_21Commented:
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
 
tristonmdAuthor Commented:
Thanks, this works great.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with 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.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now