will the CAS (Code access security) create any problem in an asp.net ? when we are going to create/delete directory .
please clear this.
On your local server, you will not have (or you shouldn't have) any problems. But, if you want to use this code on hosted server, you will have to set right permissions in order to create/delete folders.
I have gone through YAF Net, could you please let me know "How to edit the code" in order to change the FOOTER and some other things as per my requirement?
Please remember to click “Mark as Answer” on the post that helps you.
This can be beneficial to other community members reading the thread
babji.sunny@...
Participant
1223 Points
368 Posts
Re: How to create a folder on button click?
Jan 05, 2009 07:58 AM|LINK
Thanks a lot for your reply. The issue was resolved. And could you please let me know "How to delete a folder on button click"?
Thanks and Regards
Sandeep
This can be beneficial to other community members reading the thread
kipo
All-Star
16487 Points
2812 Posts
Re: How to create a folder on button click?
Jan 05, 2009 08:05 AM|LINK
With this code, you will delete "MyDirectory":
rkchaudary
Contributor
2524 Points
545 Posts
Re: How to create a folder on button click?
Jan 05, 2009 08:11 AM|LINK
Hi Kipo,
will the CAS (Code access security) create any problem in an asp.net ? when we are going to create/delete directory .
please clear this.
RkChaudary
blog
kipo
All-Star
16487 Points
2812 Posts
Re: How to create a folder on button click?
Jan 05, 2009 08:26 AM|LINK
babji.sunny@...
Participant
1223 Points
368 Posts
Re: How to create a folder on button click?
Jan 05, 2009 08:27 AM|LINK
Thanks for the reply. What if I would like to delete the folder which consists of files?
This can be beneficial to other community members reading the thread
kipo
All-Star
16487 Points
2812 Posts
Re: How to create a folder on button click?
Jan 05, 2009 08:30 AM|LINK
This line of code will delete folder, subfolders and files:
babji.sunny@...
Participant
1223 Points
368 Posts
Re: How to create a folder on button click?
Jan 05, 2009 08:34 AM|LINK
Thanks a lot Kippo, you have been great. You have helped me a lot.
Sandeep.
This can be beneficial to other community members reading the thread
babji.sunny@...
Participant
1223 Points
368 Posts
How to create a forum?
Jan 08, 2009 06:49 AM|LINK
Hi Kipo,
Could you please let me know "How to create a Discussion Board or a Forum like ASP.NET Forums"?
Thanks and Regards
Sandeep
This can be beneficial to other community members reading the thread
kipo
All-Star
16487 Points
2812 Posts
Re: How to create a forum?
Jan 08, 2009 07:20 AM|LINK
Easiest way would be to use one of the already built forums like this two (first one is free version of the software which is used on this site):
http://communityserver.com/products/express/
http://www.yetanotherforum.net/
babji.sunny@...
Participant
1223 Points
368 Posts
Re: How to create a forum?
Jan 08, 2009 08:08 AM|LINK
I have gone through YAF Net, could you please let me know "How to edit the code" in order to change the FOOTER and some other things as per my requirement?
This can be beneficial to other community members reading the thread