How to select a single whole column by using the c# language?
Please it is urgent.
Regards
Select column in a file
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
VulpesRank #55 · 29.2K reputationPosted Nov 7, 2013, 6:22 AM EST
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.
csharp beginner38 reputationPosted Nov 7, 2013, 5:30 PM EST