Results 1 to 3 of 3

Thread: COM/DCOM Question

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2001
    Posts
    31

    Question COM/DCOM Question

    We've got two servers both inside the firewalls on our LAN. Server A has got a VB executable that uses Outlook components to send emails. It also has SQL. Server B doesn't have Outlook or SQL. We want to execute the VB executable on Server A from Server B.

    Do you know of any simple way of doing that?

  2. #2
    PowerPoster Arc's Avatar
    Join Date
    Sep 2000
    Location
    Under my rock
    Posts
    2,336
    Can't you use the Shellexecute API? I've never tried it over a network but it accepts a path, so just put in the path of the EXE on the other comp.
    -We have enough youth. How about a fountain of "Smart"?
    -If you can read this, thank a teacher....and since it's in English, thank a soldier.


  3. #3
    Frenzied Member yrwyddfa's Avatar
    Join Date
    Aug 2001
    Location
    England
    Posts
    1,253
    Use COM+

    That way you can get a COM interface (for success or failure) and COM+ hides all of the details of exactly where it is that you want the executable to run (theoretically)

Posting Permissions

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



Click Here to Expand Forum to Full Width