Excel
COM
IPC
You can write user username and company to text file and access this file from application b. Hope this will helps you.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)