Solved

How to programattically save a file (or binary data) copied to the clipboard

Posted on 2006-11-17
3
144 Views
Last Modified: 2010-04-30

I can save my file object to the clipboard programatically (I think), but then I don't know how to save it to a file programmatically.  Is this possible?
0
Comment
Question by:riceman0
  • 2
3 Comments
 
LVL 29

Expert Comment

by:Nightman
ID: 17970653
0
 

Author Comment

by:riceman0
ID: 17971293

That's copying files TO the clipboard, which as I said I can already do.  I need to save the contents of the clipboard to a file.  

0
 
LVL 29

Accepted Solution

by:
Nightman earned 500 total points
ID: 17971395
Then have a look at http://vb.mvps.org/samples/project.asp?id=clipfilecopy - there is also a code sample to download, and some explanation as to how filecopy is actually done internally by explorer.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question