473,385 Members | 1,707 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,385 software developers and data experts.

Bundle csv files

I have an MS access database. I have a button the user clicks to
export the 8 tables into csv files for them to then easily email to
me.

Right now, the user must attach all 8 csv files to email to me. Is
there a way to some how programatically 'bundle' those 8 files
together as one file to send to me? I'm not sure if there is a way to
'zip' files through VB, but in the end i'm not sure if I can count on
the user having winzip installed on their computer.

I know another thought is to export to one excel file and have a
differnet table for each tab, but an excel file is much larger than
the csv and i'm trying to keep size down. but maybe this is really my
ownly option.

Any suggestions?

May 3 '07 #1
5 1151
<mp****@hotmail.comwrote in message
news:11**********************@c35g2000hsg.googlegr oups.com...
>I have an MS access database. I have a button the user clicks to
export the 8 tables into csv files for them to then easily email to
me.

Right now, the user must attach all 8 csv files to email to me. Is
there a way to some how programatically 'bundle' those 8 files
together as one file to send to me? I'm not sure if there is a way to
'zip' files through VB, but in the end i'm not sure if I can count on
the user having winzip installed on their computer.

I know another thought is to export to one excel file and have a
differnet table for each tab, but an excel file is much larger than
the csv and i'm trying to keep size down. but maybe this is really my
ownly option.

Any suggestions?
Your first and last setp should be here:
May 3 '07 #2

<mp****@hotmail.comwrote in message
news:11**********************@c35g2000hsg.googlegr oups.com...
>I have an MS access database. I have a button the user clicks to
export the 8 tables into csv files for them to then easily email to
me.

Right now, the user must attach all 8 csv files to email to me. Is
there a way to some how programatically 'bundle' those 8 files
together as one file to send to me? I'm not sure if there is a way to
'zip' files through VB, but in the end i'm not sure if I can count on
the user having winzip installed on their computer.

I know another thought is to export to one excel file and have a
differnet table for each tab, but an excel file is much larger than
the csv and i'm trying to keep size down. but maybe this is really my
ownly option.

Any suggestions?
Ok, now I am going to give you the link :)

http://www.icsharpcode.net/OpenSourc...b/Default.aspx

I have used this and it works great.
May 3 '07 #3
Hi mpfohl,
..NET 2.0 supports the GZIP compression algorithm through the GZIP stream
class. You can combine and zip your files using this method if you don't
want to go and get a 3rd party library. However there will be some coding
involved for your specific needs ;).

http://msdn2.microsoft.com/en-us/library/ms404280.aspx

Robin
May 3 '07 #4
Robin, that looks exactly like what i'm looking for, but unfortunatly
i'm not sure .net 3.0 code works in Ms. Access 2003, or am I missing
something? Is there a way to reference that library or something?

As I mentioned, i'm purchasing visual studios, will that take care of
that problem?

May 3 '07 #5
mp****@hotmail.com wrote:
Robin, that looks exactly like what i'm looking for, but unfortunatly
i'm not sure .net 3.0 code works in Ms. Access 2003, or am I missing
something? Is there a way to reference that library or something?
I think you're in the wrong newsgroup as it looks like you're asking about
VB in Access, however, can't you write all the csv data to one file with
some sort of separator so that you can split them when you're received the
email?

Andrew
May 3 '07 #6

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

Similar topics

0
by: F. Da Costa | last post by:
Hi all, Although i'm not a complete newbie i do feel like one at the moment. This question concerns the use of the ResourceBundle as per the example in the Trail tutorial on java.sun.com (thus...
18
by: Marc G. Fournier | last post by:
Well folks, we are now coming into the home stretch of another long development cycle, and its time for more vigorous and extensive testing .... Last night, we bundled up Beta4, which is the...
17
by: Dave Benjamin | last post by:
Hey folks, Why is PythonWin (win32all) still a separate download from a third party? Is it legal, technical, or what? I think it's about time it be part of the standard distribution. There...
0
by: Scott Abel | last post by:
Web Content Book Bundle Offer - Seven Books for Web Content Pros While cleaning my office, I realized just how many books I have that I don't need. I've got multiple copies of the same books!...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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,...

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.