Re: How to copy Clipboard to file?
- From: "Michael Mueller" <michael.mueller3@xxxxxxxxxxxx>
- Date: Tue, 1 Jul 2008 13:54:24 +0200
Hi Dave.
Your question is not clear, when you say "file from the clipboard" do you
mean that the clipboard contains the data or a reference to the file name?
It doesn't contain any references (as far as I can see).
What I do:
In Excel I do Insert-Object-Create from file, no linking.
Now when I copy this object i can Ctrl-V-paste in within the explorer and
the file will be copied/created.
What I wanna do is to do this paste using code.
But the clipboardformat is not a file (IsClipboardFormatAvailable=15) like
copy a file directly wihtin Explorer, but being an embedded Object
(IsClipboardFormatAvailable=3).
If it's the former then you can do everything with the Clipboard object
built into VB6, if you are dealing with actual files then it gets a LOT
more interesting.
How would this code look like?
Thanks
Michi
.
- Follow-Ups:
- Re: How to copy Clipboard to file?
- From: Dave O.
- Re: How to copy Clipboard to file?
- References:
- Re: How to copy Clipboard to file?
- From: Dave O.
- Re: How to copy Clipboard to file?
- Prev by Date: Re: How to copy Clipboard to file?
- Next by Date: Re: How to copy Clipboard to file?
- Previous by thread: Re: How to copy Clipboard to file?
- Next by thread: Re: How to copy Clipboard to file?
- Index(es):
Relevant Pages
|
Loading