Knowledge Base Ask Cody Resources



 
I’m using the C# OLE Automation Sample. I need to send a vt220 control sequence to a Stratus VOS system. The sequence is ultimately the numeric enter key (well on a console terminal) from windows the sequence should be: esc O M. How can I do this?
You can create the esc OM sequence as follows:

string esc = new string(Convert.toChar(27), 1); //this is the esc character

string s = esc + "OM"; //this is the esc OM sequence

Then send it to the server using the Host.Keys method.





11/21/2024   Legal notices | PRIVACY Policy |