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

Ankur GuptaRank #1,017 · 1.9K reputationPosted Jul 5, 2010, 9:26 PM EDT
http://msdn.microsoft.com/en-us/library/ms649034(VS.85).aspx
chnar hamid5 reputationPosted Jul 6, 2010, 12:55 AM EDT
It 's difficult for me I can't understand if you can give me sample expelling or one example .
Regards
Ankur GuptaRank #1,017 · 1.9K reputationPosted Jul 6, 2010, 1:24 AM EDT
So that i can develope a test application and send you the sample code.......
chnar hamid5 reputationPosted Jul 7, 2010, 4:48 AM EDT
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 GuptaRank #1,017 · 1.9K reputationPosted Jul 8, 2010, 3:44 AM EDT
[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
yassine wacs2 reputationPosted Aug 4, 2010, 8:12 AM EDT
Best Regards