1,105,447 Community Members

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

Member Avatar
itsvineethpv
Newbie Poster
12 posts since Jan 2012
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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

Member Avatar
dwarvenassassin
Light Poster
30 posts since Feb 2012
Reputation Points: 0 [?]
Q&As Helped to Solve: 2 [?]
Skill Endorsements: 0 [?]
 
0
 

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

Path.GetDirectoryName(Application.ExecutablePath)
Member Avatar
skatamatic
Posting Shark
980 posts since Nov 2007
Reputation Points: 371 [?]
Q&As Helped to Solve: 133 [?]
Skill Endorsements: 5 [?]
 
0
 

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

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article