G
Go Perl
Hello
Here is an interesting question which I could not solve it.
I have an old dos app for which source code is lost. I just have the
exe file. So I have created a front-end for that. I linked the
front-end to the back end exe file.
Everything works fine except When I hit a button on the front end it
brings up the dos app and I have to manually enter few key presses
like F, F, N and ENTER or ESC for dos app to run an algorithm and
output the results to a file.
If only I could send these keystrokes from my c# app to this old exe
file, I could automate this process and the user will not have to see
the old exe file.
I tried using sendkeys.sendwait, but it is working on cmd.exe but not
passing the keystrokes to this old app. Possibly, because it is
sending just characters that are not recognized.
If anyone has an idea to solve this please reply to this message . I
would greatly appreciate the help and it will help me from re-writing
thousands of lines of code.
Regards,
..NET Coder
Here is an interesting question which I could not solve it.
I have an old dos app for which source code is lost. I just have the
exe file. So I have created a front-end for that. I linked the
front-end to the back end exe file.
Everything works fine except When I hit a button on the front end it
brings up the dos app and I have to manually enter few key presses
like F, F, N and ENTER or ESC for dos app to run an algorithm and
output the results to a file.
If only I could send these keystrokes from my c# app to this old exe
file, I could automate this process and the user will not have to see
the old exe file.
I tried using sendkeys.sendwait, but it is working on cmd.exe but not
passing the keystrokes to this old app. Possibly, because it is
sending just characters that are not recognized.
If anyone has an idea to solve this please reply to this message . I
would greatly appreciate the help and it will help me from re-writing
thousands of lines of code.
Regards,
..NET Coder