473,405 Members | 2,160 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

How to create new folder by code

Hi everyone,

Have been using vb.net for a while but am really stumpped on how to
programatically create a new folder to store some app config data. I know I
must be missing something blatantly obvious but really I am stumpped.

Any pointers or examples would be appreciated.

Thanks
Nov 21 '05 #1
3 8034
RitaK.

See this page complete with sample.

http://msdn.microsoft.com/library/de...reatetopic.asp

I hope this helps?

Cor
Nov 21 '05 #2
"RitaK" <Ri***@discussions.microsoft.com> schrieb:
Have been using vb.net for a while but am really stumpped on how to
programatically create a new folder to store some app config data. I know
I
must be missing something blatantly obvious but really I am stumpped.

'MkDir'
'Directory.CreateDirectory'
'DirectoryInfo.Create'

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #3
Thanks guys, knew it was obvious - a simple case of not seeing the forest for
the trees.

RitaK

"RitaK" wrote:
Hi everyone,

Have been using vb.net for a while but am really stumpped on how to
programatically create a new folder to store some app config data. I know I
must be missing something blatantly obvious but really I am stumpped.

Any pointers or examples would be appreciated.

Thanks

Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Dave | last post by:
I have an application where I am providing the user the ability to select or create a folder on a domain, using SHBrowseForFolder. When the user selects/creates a folder on a remote computer, it...
0
by: Colin Steadman | last post by:
This may be slightly off topic, but this is probably a better place to ask than an Oracle group as folk here are more likely to use the feature I'm asking about. In Toad (Quest Software) there...
2
by: DCount17 | last post by:
I'm new to .NET and C#. I need help in trying to do the following: I need to use a URI (or something else) that allows all users of the application to be able to access a directory and create a...
1
by: sajithm | last post by:
Hi all, I have a problem while trying to create folder and files in a remot storage server using asp.net. Actually I was trying with filesystem object and this says bad usernam and passeord,....
1
by: deepaks85 | last post by:
Dear Sir, I have written a php script to create folder : <?php $targetpath = $_SERVER . "/reports/"; $target = $targetpath . basename( $_FILES); mkdir($targetpath.$vName,0700); ?>
0
by: mrinalaryan | last post by:
create folder & upload file in the web server through web service-C# -------------------------------------------------------------------------------- im using web service to connect windows form...
2
by: shona | last post by:
Hello friends.., I want to create folder on server from client machine using Asp.net... My problem is that i have done coding it run properly but whenever i ran that application from IIS...
1
by: jags | last post by:
HI All I was trying to create Document librray programatically in a Sharepoint Site and is not working for me.I was trying to implement this as an Event Handler. The aim of the code is to create...
2
by: Noorain | last post by:
sir how to create folder to use php script? i know how to file upload in folder to use php. but i can't how to create folder. i type name & its create my folder. Example: Type: test. my...
1
by: Iridaki | last post by:
Hello, i am new with access vba, and i have a certain question about a specific code. I want to create a list of buttons on a form (or one button),that each one represent a pollutant of the...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.