We're a community of 1.1M IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,080,492 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

How to add a folder to client computer when installing my windows application

How to add a folder to client computer when installing my windows application.

Dear Friends, I have created a windows application using ASP.net and C# . I want to add some documents to client computer when it is installing.

I want to get the installation path too. Because some forms are working based on that files. Please Help me

Thanks

3
Contributors
2
Replies
13 Hours
Discussion Span
1 Year Ago
Last Updated
3
Views
itsvineethpv
Newbie Poster
12 posts since Jan 2012
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Can't help with creating the folder, but to find the applications install path at run-time use

Path.GetDirectoryName(Application.ExecutablePath)
dwarvenassassin
Light Poster
30 posts since Feb 2012
Reputation Points: 10
Solved Threads: 2
Skill Endorsements: 0

System.IO.Directory.CreateDirectory() is what you are looking for.

skatamatic
Posting Shark
986 posts since Nov 2007
Reputation Points: 399
Solved Threads: 132
Skill Endorsements: 1

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page generated in 0.0596 seconds using 2.64MB