Hello,
I have an experiment that produces a lot of data each day.
I was wondering if anyone has seen(I'm not asking anyone to write
anything for me) code that will create a new folder every day and put
the data into it.
Thanks
Mike 4 2620
On May 29, 4:59 pm, AMP <ampel...@gmail .comwrote:
I have an experiment that produces a lot of data each day.
I was wondering if anyone has seen(I'm not asking anyone to write
anything for me) code that will create a new folder every day and put
the data into it.
Just format DateTime.Today as a string in some suitable format and
create that as a folder. Have you already tried that and run into
problems?
Jon
We did something like this with weather data. Basically, for an observation
you look at the date and generate a folder name based on the date. If
generating folder names by year\month\day makes sense, then you could go with
that. The key is to test the existence of the folder when it is needed, and
create as necessary.
"AMP" wrote:
Hello,
I have an experiment that produces a lot of data each day.
I was wondering if anyone has seen(I'm not asking anyone to write
anything for me) code that will create a new folder every day and put
the data into it.
Thanks
Mike
On May 29, 11:59*am, AMP <ampel...@gmail .comwrote:
Hello,
I have an experiment that produces a lot of data each day.
I was wondering if anyone has seen(I'm not asking anyone to write
anything for me) code that will create a new folder every day and put
the data into it.
Thanks
Mike
what is your doubt?
you can generate a name by using DateTime.Today. ToString( "MMddyyyy")
and use it as a folder name.
On May 29, 4:06*pm, "Ignacio Machin ( .NET/ C# MVP )"
<ignacio.mac... @gmail.comwrote :
On May 29, 11:59*am, AMP <ampel...@gmail .comwrote:
Hello,
I have an experiment that produces a lot of data each day.
I was wondering if anyone has seen(I'm not asking anyone to write
anything for me) code that will create a new folder every day and put
the data into it.
Thanks
Mike
what is your doubt?
you can generate a name by using DateTime.Today. ToString( "MMddyyyy")
and use it as a folder name.
All,
Thanks This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: jenny |
last post by:
Hi, I am trying to find a VB way that would create a folder on all
existing drives - the folder name would be the same on each drive. ie
c:\backup, d:\backup, etc. But the folders would only be created if
they don't already exist, and if the drive happens to be one a folder
cannot be created on (ie a cdrom drive) it would just be skipped...
|
by: Tom |
last post by:
Can anyone give me any advice on how to secure a folder on a network server
so that documents in the folder can only be opened through an Access
database or by the database admin. I need to store MS Word docs in a folder
on a network server. The database admin will save the docs to the folder.
The docs must be available to Word automation out...
|
by: John H. |
last post by:
In effort to understand (Outlook) MAPI folder tree
structure wrote simple linear code below to navigate
tree.
Successive "...Folders.GetNext()"'s return same folder at
all levels of tree. What am I doing wrong or not
understanding?
Thanks.
|
by: Dave Veeneman |
last post by:
I'm puzzling over the best design for a Folder object.
I have two basic domain objects; leat's call them an Apple and an Orange.
The objects are maintained in separate hierarchies, and each hierarchy is
organized by Folder objects. A Folder object can contain either Apples, or
Oranges, or other Folders. A Folder contains only one type of...
|
by: vinesh |
last post by:
I have sample Asp.Net Web Application project.
Let me know how to keep the files related to this project (like the
webform.aspx, WebForm1.aspx.vb, WebForm1.aspx.resx) in a separate folder
within a project and what all setting will I be required to do So that my
original project works.
Can I keep WebForm1.aspx in root and code behind file in...
| |
by: Paul |
last post by:
I'm trying to make get my app to delete all the files in a specified folder
and all the files within the folders of the specified folder.
e.g.
Folder 1 contains three files (File1, File2, File3) and two folders
(Subfolder 1, Subfolder 2).
.......I need to delete File1, File2, File3.
Subfolder 1 contains FileA.
.......Need to delete FileA....
|
by: tatemononai |
last post by:
Ok, this is a very unique bug. I have only been able to find one other
post related to this online, and everybody who responded misunderstood
the problem. I am not trying to reference anything in the BIN folder
directly.
Here is the problem. I had a site running without any problems, and
then all of a sudden it went down and visitors...
|
by: rdemyan via AccessMonster.com |
last post by:
With A2003, I'm having trouble accessing files in a folder on another
computer where back-end files, update files, etc are located. Here's the
scenario:
1) Computer #1 - A2003
2) Computer #2 - Access 2000; folder with back-ends for both computers and
'Update' folder.
I have a launcher program that launces my application (MyApp). The...
|
by: biganthony via AccessMonster.com |
last post by:
Hi,
I have the following code to select a folder and then delete it. I keep
getting a Path/File error on the line that deletes the actual folder. The
line before that line deletes the files in the folder but I get the error
message when the procedure attempts to delete the folder selected in the
BrowseforFolderbyPath function.
How can I...
|
by: Noozer |
last post by:
I'm looking for a "smart folder" program to run on my Windows XP machine.
I'm not having any luck finding it and think the logic behind the program is
pretty simple, but I'm not sure how I'd implement this. I've done some VB6
programming and dabbled in VS.Net.
Can someone share some pointers in how I could implement the following?
...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |