How I can using the ChangeClipboardChain function
Hi every one I am beginner of vb.net I want to using ChangeClipboardChain function to cop text then display on the text box
when I copy new text then remove old copy text and display new copy text on the text box
I am so sorry for my English
Best regards
Loading
yassine wacsPosted Aug 4, 2010, 12:12 PM
Best Regards
Ankur GuptaPosted Jul 8, 2010, 7:44 AM
[DllImport("User32.dll", CharSet = CharSet.Auto)]
public static extern
IntPtr SetClipboardViewer(IntPtr hWnd);
[DllImport("User32.dll", CharSet = CharSet.Auto)]
public static extern
bool ChangeClipboardChain(
IntPtr hWndRemove,
//handle to window to remove
IntPtr hWndNewNext
//handle to next window
);
and for a demo project please follow the link http://www.codeproject.com/KB/clipboard/ClipSpyPlus.aspx
chnar hamidPosted Jul 7, 2010, 8:48 AM
I want copy clipboard text from computer display into the text box on the vb form again when I copy another text then remove the old copy text and show new copy text in the text box
1- now copy some text and display in the text box
2- again I copy another text
3- now I want to remover the first (1) copy text and display new text (2)
thank you for help
Ankur GuptaPosted Jul 6, 2010, 5:24 AM
So that i can develope a test application and send you the sample code.......
chnar hamidPosted Jul 6, 2010, 4:55 AM
It 's difficult for me I can't understand if you can give me sample expelling or one example .
Regards
Ankur GuptaPosted Jul 6, 2010, 1:26 AM
http://msdn.microsoft.com/en-us/library/ms649034(VS.85).aspx