473,837 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Paste Outlook 97 Attachement


I want my application to Paste Outlook 97 Attachements with the ClipBoard or
something likE that. Unfortunately the ClipBoard treats Outlook-Attachements
otherwise than 'normal' Files (they aren't seen as DataFormats.Fil eDrop), so
I'm not able to Paste these Attachements.

The working routine for 'normal' files is like this:
Dim iData As IDataObject = Clipboard.GetDa taObject()
If iData.GetDataPr esent(DataForma ts.FileDrop) Then
Dim clipbrd As String() =
DirectCast(iDat a.GetData(DataF ormats.FileDrop ), String())
Dim i As Integer
For i = 0 To clipbrd.Length - 1
File.Copy(clipb rd(i), strNewDirFile)
End If

Does anybody knows how to do this for Outlook-Attachements?

Thanks a lot,


Nov 20 '05 #1
0 1193

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

Similar topics

by: tabonni | last post by:
Hi all I want to create an ASP page, which can copy the real PDF files into the clipboard and then the user can paste it in Outlook message as attachments(it's like inserting attachments) My idea is: When user checked the checkboxes for the requested PDF files from ASP page and press the "Add To Clipboard" button, all requested PDF files will be copied into clipboard. Then, the user open MS outlook message and right click -> Paste all...
by: tabonni | last post by:
Hello All I am creating an ASP page. There are a list of filename and checkbox next to it. When user checked all the documents they want and click ADD TO CLIPBOARD button. All filepaths will be copied into clipboard and then they can right-click -> paste into MS Outlook as attachments. How can I use clipboardData.setData function to do that? I saw a lot of examples they are just copy and paste text.
by: Sreejith S S Nair | last post by:
hi, On first site you may feel what happen this guy to screw himself ? I need an application which will open outlook express and check for new mails(without my interaction).If any new mails are there then it read the body (content) of mail and store the body of mail to one database table feild.Apart from this, my application will try to check whether any attach is there in that mail. If it is there then it will store that attach in my...
by: DraguVaso | last post by:
Hi, I want my application to Paste Outlook 97 Attachements with the ClipBoard or something likE that. Unfortunately the ClipBoard treats Outlook-Attachements otherwise than 'normal' Files (they aren't seen as DataFormats.FileDrop), so I'm not able to Paste these Attachements. The working routine for 'normal' files is like this: Dim iData As IDataObject = Clipboard.GetDataObject() If iData.GetDataPresent(DataFormats.FileDrop) Then
by: Himselff | last post by:
Hi guys, Im developing a lil add-in that is goiing to allow the user by a button click to auto print PDF doc which are attach to hes emails, i think the things is to simple cause its not working at all, hope u guys can gimme a hand , heres the code, Public Sub OnStartupComplete(ByRef custom As System.Array) Implements Extensibility.IDTExtensibility2.OnStartupComplete
by: Dean Spencer | last post by:
Can anyone help? I am importing Emails from Outlook using the following code: Public Function ScanInbox(SubjectLine As String) Dim TempRst As Recordset Dim OlApp As Outlook.Application Dim Inbox As Outlook.MAPIFolder Dim InboxItems As Outlook.Items Dim Mailobject As Object Set OlApp = CreateObject("Outlook.Application")
subashini Thiyagarajan
by: subashini Thiyagarajan | last post by:
i am creating some pages using ASP and Access .... i want to bring outlook mail to my asp page then it should store it to access database. any one know how to do... Normally we can drag the outlook mail to anywhere and we can save even forward as a attachement .....i am displaying a table contents, when i drag a mail from outlook and drop near any filed in the display it shoud sit as a next field of that record along with the mailcover...
by: mike11d11 | last post by:
I am using this code to create an email to send automaticaly in my program, the only problem is I get the security warning and I just want the email to go out on its own without the warning. I heard this can only be done by creating your own Com add-in but I really dont know how to do that and am pretty new to the programming world. Any help with my code below would be greatly appreciated, oh yeh I'm using outlook 2003 pro. Dim oOutL...
by: Roark | last post by:
In outlook, I've setup an advanced search (Ctrl-Shift-F) and saved the search as msgsrch.oss. Next, I've uploaded this file to a field in my web sql server. In my web app, when I click on an email address I'm 1) loading the mshsrch.oss field into a variable, 2) replacing the email address with the one that is clicked on, 3) pushing the file out so that the search pops up un outlook. This is really cool - if it worked. My problem is in step...
by: sreemathy2000 | last post by:
My requirement is to preload the To,cc, Subject, body ,add an attachement and automatically open the New mail screen of outlook from my web page. Send option is left to the user. I was able to find the code for this and it executed successfully in the LocalHost... I'm using Windows XP, Outlook 2003 and ASP.net 2.0 But when i deploy it in the server, it get a following error message System.Runtime.InteropServices.COMException:...
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.