|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Bundle csv filesI 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? <mpf***@hotmail.com> wrote in message
Show quoteHide quote news:1178157440.312605.190840@c35g2000hsg.googlegroups.com... Your first and last setp should be here:>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? > <mpf***@hotmail.com> wrote in message
Show quoteHide quote news:1178157440.312605.190840@c35g2000hsg.googlegroups.com... Ok, now I am going to give you the link :)>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? > http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx I have used this and it works great. 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 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? mpf***@hotmail.com wrote:
> Robin, that looks exactly like what i'm looking for, but unfortunatly I think you're in the wrong newsgroup as it looks like you're asking about > 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? 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
Add custom button on title bar
Deleting blanks in a string Threading(?) & FileSystemWatcher fax question Sending Mail Show Msgbox in SYSTEM account Output Ascii 0x02 as part of record How to create generic object at run-time? adding xml data to a combobox Would like to see the Generated code in visual studio 2005 |
|||||||||||||||||||||||