How to select a single whole column by using the c# language?
Please it is urgent.
Regards
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
csharp beginnerPosted Nov 7, 2013, 10:30 PM
VulpesPosted Nov 7, 2013, 11:22 AM
You'd then need to force input focus onto the text editor which can be done by calling the API functions FindWindow and SetForegroundWindow.
The appropriate keystrokes can then be sent to the text editor using the managed SendKeys.Send or SendKeys.SendWait methods.
I'll warn you now that doing anything like this programatically can be a bit flakey due to timing issues but it's usually possible to figure something out.