Click here to Skip to main content
15,910,981 members
Home / Discussions / C#
   

C#

 
AnswerRe: integer problem!! Pin
Skippums14-Dec-07 6:38
Skippums14-Dec-07 6:38 
GeneralRe: integer problem!! Pin
Luc Pattyn14-Dec-07 10:08
sitebuilderLuc Pattyn14-Dec-07 10:08 
GeneralRe: integer problem!! Pin
Skippums14-Dec-07 11:49
Skippums14-Dec-07 11:49 
GeneralDisplay limited items in listbox using C# from xml Pin
new2pgrmg14-Dec-07 3:51
new2pgrmg14-Dec-07 3:51 
GeneralRe: Display limited items in listbox using C# from xml Pin
Kristian Sixhøj14-Dec-07 4:22
Kristian Sixhøj14-Dec-07 4:22 
GeneralRegex.....Problem........... Pin
Siddharth Rastogi14-Dec-07 3:50
Siddharth Rastogi14-Dec-07 3:50 
AnswerRe: Regex.....Problem........... Pin
Matthew Butler14-Dec-07 6:04
Matthew Butler14-Dec-07 6:04 
QuestionHow to trigger Paste in terminal server window? Pin
mav.northwind14-Dec-07 2:58
mav.northwind14-Dec-07 2:58 
Hi!
I've asked a similar question some time ago, but unfortunately without usable results, so I try again.

I put some text into the clipboard and want to trigger a paste action inside a terminal server session (i.e. programmatically do what happens when you press Ctrl+V inside a mstsc window).
Yes, I know that you can't programmatically see the different windows inside the WTS session and that the currently active application will be the target for my paste, but that's exactly what I want.

So far I tried using SendKeys, P/invoke to SendInput and keybd_event, posting WM_PASTE or even WM_KEYDOWN and WM_KEYUP with the exact parameters Spy++ reports, but I can't get it to work.
The first 4 ways simply give no visible result at all, with WM_KEYDOWN/UP I get a plain "v" instead of Ctrl+V.

Does anyone have any further idea?
Regards,
mav

--
Black holes are the places where God divided by 0...

AnswerRe: How to trigger Paste in terminal server window? Pin
Kristian Sixhøj14-Dec-07 3:52
Kristian Sixhøj14-Dec-07 3:52 
GeneralRe: How to trigger Paste in terminal server window? Pin
mav.northwind14-Dec-07 4:15
mav.northwind14-Dec-07 4:15 
AnswerRe: How to trigger Paste in terminal server window? Pin
Skippums14-Dec-07 6:57
Skippums14-Dec-07 6:57 
GeneralRe: How to trigger Paste in terminal server window? Pin
mav.northwind14-Dec-07 10:57
mav.northwind14-Dec-07 10:57 
GeneralRe: How to trigger Paste in terminal server window? Pin
Skippums14-Dec-07 11:53
Skippums14-Dec-07 11:53 
GeneralRe: How to trigger Paste in terminal server window? Pin
mav.northwind14-Dec-07 20:25
mav.northwind14-Dec-07 20:25 
GeneralRe: How to trigger Paste in terminal server window? Pin
mav.northwind15-Dec-07 6:40
mav.northwind15-Dec-07 6:40 
QuestionWindows Forms DataGrid View Clearing Problem Pin
deepaks314-Dec-07 1:25
deepaks314-Dec-07 1:25 
GeneralRe: Windows Forms DataGrid View Clearing Problem Pin
ChandraRam14-Dec-07 1:32
ChandraRam14-Dec-07 1:32 
GeneralRe: Windows Forms DataGrid View Clearing Problem Pin
deepaks314-Dec-07 1:35
deepaks314-Dec-07 1:35 
GeneralRe: Windows Forms DataGrid View Clearing Problem Pin
ChandraRam14-Dec-07 1:49
ChandraRam14-Dec-07 1:49 
AnswerRe: Windows Forms DataGrid View Clearing Problem Pin
dipak.dipak14-Dec-07 2:03
dipak.dipak14-Dec-07 2:03 
GeneralRe: Windows Forms DataGrid View Clearing Problem Pin
Brady Kelly14-Dec-07 2:05
Brady Kelly14-Dec-07 2:05 
GeneralRe: Windows Forms DataGrid View Clearing Problem Pin
deepaks314-Dec-07 3:17
deepaks314-Dec-07 3:17 
GeneralRe: Windows Forms DataGrid View Clearing Problem Pin
Justin Perez14-Dec-07 3:39
Justin Perez14-Dec-07 3:39 
GeneralRe: Windows Forms DataGrid View Clearing Problem Pin
deepaks314-Dec-07 17:44
deepaks314-Dec-07 17:44 
GeneralAn Array problem Pin
zeeShan anSari14-Dec-07 1:19
zeeShan anSari14-Dec-07 1:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.