Results 1 to 5 of 5

Thread: Executing a local file on server ?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2000
    Location
    Québec, Canada
    Posts
    212

    Question Executing a local file on server ?

    I have to send mail via SMTP to local users of our intranet;
    at first I thought I would make an Activexdll but it doesn't seem to works so I thought of using a ready-to-use .exe to do the task.

    What i want to know is if it is possible to launch this app from the ASP server so when a client request a "mail sending" action, it would simply runs this .exe ?

    If so, I would like to know if you can write to local file by ASP because this .exe requires a .ini to access its informations...
    Any idea ? Reference ?
    Regards,

    El-Nino

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Oct 2000
    Location
    Québec, Canada
    Posts
    212
    Anyone ?
    Regards,

    El-Nino

  3. #3
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    I wouldn't think you'd have any problems doing it through an active x dll.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Oct 2000
    Location
    Québec, Canada
    Posts
    212
    Ok thanx !
    I'll try it but still my best solution would have to use an activexdll but it seems i can't program it correctly

    Anyway, thanx !
    Regards,

    El-Nino

  5. #5
    Addicted Member tonyenkiducx's Avatar
    Join Date
    Oct 2000
    Location
    London England
    Posts
    147
    the best solution is to use CDONTS... Check out msdn.microsoft.com/library/default.asp for syntax...

    If you really want to use activeX, the code is almost identical in VB as it is in ASP, so there not much point.... other than speed issues, but I wont go into that as it doesnt really matter for sending an email..

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