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

files attachment using access - VBA

Hi All,

How can we attach a file in VBA application using access.
I have a form1 with button placed on it.
On click of button I need to call another form2 from where I need to attach 10 files.
Files can be of type (.doc, .xls,.pdf)
I need to check while attaching the file, the size of file shouldnot be more than 1 MB, also I can open the file after attaching it from form2.

After attaching I need to save all the files in a folder (auto generated folder based on some number from the form1) .

All this I have mention in my enclosed attachment (Requirement).

Please suggest/help how can we do this.


Thanks in advance.
Kumar
Attached Files
File Type: zip Requirement.zip (3.9 KB, 62 views)
Jun 15 '10 #1
0 1245

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Debbie CD UK | last post by:
I have a large amount of log files from an electronic contro tester that I need to import in to an Access database Unfortunately, they are not comma delimited or fixed with but different fields...
3
by: bill mahoney | last post by:
Hello, I am using access 2000 and I am trying to email a csv file. I have only used the docmd.sendobject command but you can only email objects that are within the access database ( as far as I...
4
by: John Baker | last post by:
Hi: Can someone point me in the right direction please? I need to use Access to e mail a variable report (in Word) to a number of individuals. Their names are in a table called Associates, and...
3
by: Prakash Wadhwani | last post by:
Hi !! I have been browsing around but have not been able to find a simple, lucid solution ... or maybe I'm just too confused. I know this has been asked before by many ... but pls bear with me. ...
1
by: Sniper | last post by:
Hi guys I am retrieving an attachment using a web service. what would be the fastest way to download the attcahment ? WSE Attacahment or byte array or any other methods ??? tahnks in...
1
by: Les Stout | last post by:
Good day all, I am very new to access and not a programmer! Is it possible to send a word document as an attachment from access. If yes could you please tell me how. thanks in advance for any...
6
by: brendan_gallagher_2001 | last post by:
Hi, Does anyone know how to create an attachment using a stream in classic ASP. I can see that it can be done in ASP.Net as per the article below: Initializes a new instance of the Attachment...
2
by: newuser1980 | last post by:
Hey, I am in the process of writing some VBA code that will do the following: 1) Create and send an e-mail using Outlook with an excel file attached. The excel files are present in a specified...
1
by: goodridb | last post by:
Hi I made a macro to send a report as an email attachment in Access 2000. It is scheduled to run daily but returns an error message: "You must install a printer before you design,print or preview"....
5
by: xmaverick | last post by:
Hello, I'm a newbie to perl and i'd like some assistance trying to figure out how to send an attachment using MIME::Lite. I have searched the net far and wide and have used and modify different...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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
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,...

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.