Call exe from ASP

Results 1 to 2 of 2

Thread: Call exe from ASP

  1. #1
    Shveta Guest

    Default Call exe from ASP

    How do I invoke an exe from an ASP page. The ASP application is on a different web server and exe is on some other and both the computers are not on LAN but on the internet.<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Call exe from ASP

    Hi,<BR><BR>If you wanted to invoke an .exe on the same server the easiest thing to do would be to create a VB ActiveX DLL as a COM wrapper that passes a command line as a parameter to the Shell function.<BR>It&#039s trickier in your case, obviously, as you&#039ve got a remote server. This is where DCOM comes in, and I start mumbling.<BR><BR>My advice would be to start with Microsoft and search the web for useful info about implementing DCOM (distributed component object model).<BR><BR>One thing I know you have to look out for in this scenario (based on the experience of a colleague) is that server port security can be a stumbling block.<BR><BR>Good luck!<BR><BR>Jerome.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts