View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jitendra Kumar[_2_] Jitendra Kumar[_2_] is offline
external usenet poster
 
Posts: 16
Default Macro to run external application and login into it.


Dear Experts,

I need your help.

I have an application called Agent.exe which i use to import data from
finger print terminals. When i run the application, it shows a dialog box to
enter the user name and password. after i enter the correct user name and
password,the application runs and starts fetching the log from the terminals
which is then stored into a MDB file.

I have created a macro which connects to the MDB file, imports the data and
then export s it to CSV but each time i have to do it, i have to open the
Agent.exe application so that the MDB gets updated with the latest logs.
Therefore I need an excel macro which can run Agent.exe installed at
c:\program files\Agent\Agent.exe and login into it with username = "Admin"
and Password = "Password"

Thanks in advance,
--
Best Regards,
Jitendra Kumar