473,513 Members | 2,275 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

file object on the clipboard

I've been reading the recent posts about using the clipboard, and wanted to
try something where i could copy and paste files and directroies using the
clipboard instead of the copto() function. the problem is that there is no
data format for it. filedrop isnt supported.
so far ive been using copyto() and moveto() to accomplish the same thing
within my app, but it doesnt work accepting cut, copy paste to and from
other apps.

any ideas?
thanks,
patrick
Nov 21 '05 #1
3 1233
Patrick,

I assume you mean directory and file paths, that is possible, I thougth that
it was in one of these links.

clipboard
http://msdn.microsoft.com/library/de...ardSupport.asp

Clipboardclass
http://msdn.microsoft.com/library/de...classtopic.asp

I hope this helps a little bit?

Cor
Nov 21 '05 #2
Thanks for the help.
the examples are for pasting text, which i have no problem doing.
im tring to create and explorer type application, where i use cut/copy/paste
to manipulate file locations. At the moment, imusing calls to copyto() and
moveto() in order to perform these operations.
I would like to use the clipboard to move the acutal file / directory,
instead of the copyto and moveto methods.
the problem is that i dont see a clear way to use the clipboard on a file
(not the files text). I would be nice to be able to handle copy/paste from
other applications, etc using the clipboard.

thanks,
patrick
"Cor Ligthert" <no************@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Patrick,

I assume you mean directory and file paths, that is possible, I thougth
that it was in one of these links.

clipboard
http://msdn.microsoft.com/library/de...ardSupport.asp

Clipboardclass
http://msdn.microsoft.com/library/de...classtopic.asp

I hope this helps a little bit?

Cor

Nov 21 '05 #3
Patrick,

I gave you the wrong link (although this is inside the ones I gave), this is
about drag and drop, however should help you in my opinion

http://msdn.microsoft.com/library/de...mpdragdrop.asp

Cor
Nov 21 '05 #4

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

Similar topics

5
2671
by: TC | last post by:
Hello, I am familiar with obtaining source file reference material from the system clipboard using the old Win32 API. For example, copy an Excel chart onto the clipboard and goto Word. Under,...
5
4019
by: TC | last post by:
Hello, Here is what I'm trying to do: -- Make sure both MS Excel and MS Word are running -- Create an Excel chart -- Save the Excel file -- Copy the Excel chart onto the clipboard using Ctrl...
8
16167
by: John Smith | last post by:
Hi folks, I know how to place text into the user's clipboard: Clipboard.SetDataObject("My Copied Text"); but how do I place a file in there? So, if I have a file C:\test.txt, how can I place...
8
9795
by: Dinesh Jain | last post by:
Hi all, I encountered a serious problem while working with clipboard class in VB.NET. I want to simulate cut-copy-paste operation with my application and Windows Explorer. User can copy files...
4
4509
by: fred | last post by:
I am trying to copy a file onto the clipboard but I am not having any success. Perhaps someone can help me out. I have the full file name from my application and to put it onto the clipboard I...
2
2455
by: zheng | last post by:
ÇçÌì I have a word document and it has a picture object, I want save the picture object as other single picture file by C# program. I have a idea, by clipboard, copy the picture to clipboard, and...
2
4410
by: steve | last post by:
Hi All I have a program which takes photos of members using a web cam, then saves them as bitmap files The bitmap is used by a Picturebox to display the photo and clicking on a button enables...
0
7171
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...
1
7114
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7541
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...
1
5098
isladogs
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...
0
4751
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...
0
3240
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...
0
3230
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1607
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 ...
1
807
muto222
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.