ASP.NET

Moderators: None (Apply to moderate this forum)
Number of threads: 1727
Number of posts: 3292

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
how to make new folder in c#.net Posted by roya on 26 Aug 2005 at 12:42 PM
hello
do you know how to make new folder with writing code in c#.net not by ready objects in toolbars.
thanks
Report
Re: how to make new folder in c#.net Posted by Gogi on 27 Aug 2005 at 10:36 AM
: hello
: do you know how to make new folder with writing code in c#.net not by ready objects in toolbars.
: thanks
:

Hi,

Try using DirectoryInfo class.
Something like this:

Dim di As New DirectoryInfo("C:\YourFolder")
di.Create()


Hope this helps!
Report
Re: how to make new folder in c#.net Posted by raylouw on 30 Aug 2005 at 4:45 AM
: : hello
: : do you know how to make new folder with writing code in c#.net not by ready objects in toolbars.
: : thanks
: :
:
: Hi,
:
: Try using DirectoryInfo class.
: Something like this:
:
:
: Dim di As New DirectoryInfo("C:\YourFolder")
: di.Create()
: 

:
: Hope this helps!
:

Or in c#:

using System.IO;

DirectoryInfo info = Directory.CreateDirectory("c:\test");
Report
Re: how to make new folder in c#.net Posted by roya on 30 Aug 2005 at 11:34 PM
: : : hello
: : : do you know how to make new folder with writing code in c#.net not by ready objects in toolbars.
: : : thanks
: : :
: :
: : Hi,
: :
: : Try using DirectoryInfo class.
: : Something like this:
: :
: :
: : Dim di As New DirectoryInfo("C:\YourFolder")
: : di.Create()
: : 

: :
: : Hope this helps!
: :
:
: Or in c#:
:
: using System.IO;
:
: DirectoryInfo info = Directory.CreateDirectory("c:\test");
:
thanks in advance




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.