Hi, I'm new here

I want to create excel VBA code to open the .exe file and login into that .exe file.
Normally the exe file like:
1. Click to open .exe file
2. Exe file open with login windows (ID & PW)
3. input the ID & PW and enter the exe

do anyone can help me to write the VBA code?