User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 391,627 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,768 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser:

How do i Send and Receive Email with Attachment

Join Date: Apr 2007
Posts: 24
Reputation: ttamilvanan81 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
ttamilvanan81 ttamilvanan81 is offline Offline
Newbie Poster

Re: How do i Send and Receive Email with Attachment

  #3  
Apr 4th, 2007
Originally Posted by davidcairns View Post
Look up the CDO.Message object, it has everything you need. This thread has some code you can adapt for it

http://www.daniweb.com/techtalkforums/thread70031.html

To add an attachment use
.AddAttachment with the file name and location as the parameter.

Regards

D


Hai.
thanks for your reply. I am already doing with this type of attachment (attachment path passing as a parameter).

But i need the browse button, to click the browse button and select any one file. The selected file path was store into a textbox.

this type of attachment i need. I know the Microsoft Common Dialog control was do this. But in my Access form the common dialog control is not there. Then i go to click the more controls button and select the Microsoft Common Dialog Control, version 6.0. But the Error occured. The error message is

You don't have the license required to use this ActiveX control.
You tried to open a form containing an OLE object or an ActiveX control or you tried to create an ActiveX control. To obtain the appropriate license, contact the company that provides the licensed OLE object or ActiveX control.

Then i go and try to register the ActiveX control. But again i have the error message.

c:\windows\system32\comctl32.dlll was loaded, but the DllRegisterServer entry point was not found.
This file can not be registered.

This error message was displayed. So that i have stucked.

Anybody can know, how to solve this problem. please let me know.


Thanks
Tamilvanan
Reply With Quote  
All times are GMT -4. The time now is 12:49 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC