My question was regarding 'inject'(ing) into another process. It's possible for a DLL to do that, but as far as I know, an .EXE cannot inject itself into another .EXE. Perhaps, your idea of the OP's use of 'inject' was not that, but something else.
Fair enough... Perhaps I should have identified/corrected that use of term in Alien's (aka BC's) post. Instead, I chose to ignore the literal meaning of the term inject in terms of threads & processes, in order to infer the term invoke in it's place. Hence the response in confidence that one could enact a Command within an AutoCAD process via (external) stand alone EXE, as described in the supplementary posts from many moons ago.
Admittedly, that substitution was a personal liberty, taken based on the limited knowledge I have of both .NET development in general, and my understanding of BC's .NET background as it relates to his original request in the OP. A context that most certainly was not made clear by the brief response(s) made by me.
As always, Tony, thanks for seeking to clarify another topic; I learn something each time.
Cheers
Is that possible? I created a form that contains some tools I use, and buttons for links to websites I visit all the time. I open that before I open Autocad session. Can I make it launch a command in autocad? Basically I get tired of loading my autolisp routines (don't make it automatic in case someone else at company hops on computer).