Hi,
I have a requirement where I need to call a form from another form after successful login.
The steps which need to happen is as follows
1) A Cobol program is executed and it open a win forms which is a login screen.
2) After providing you inputs the form should pass the values to calling Cobol Program without closing the form
3) The Cobol program should do your validation or checks and if success it should return to form with a message e.g. "initializing..... please wait" and then 4 & 5 step should happen. If not successful it should return with another message e.e. "invalid user/pass" and should again wait for user input.
4) The control should go back to the calling program for further process
5) After successful processing it should close the login form and display the next form to the user
so it means that there is basically 1 cobol program which is driving the whole flow.
Can anyone help me to achieve this?
Thanks in advance