Results 1 to 2 of 2

Thread: How can I parameters to an exe on a Web server from client?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2000
    Posts
    70

    Question

    What I want to do is to send some data retrieved from a form in web page to an exe file on server side. The exe will recieve parameters and will process calculations..

    Like:

    FORM:

    Enter Number 1: 5 (n1)
    Enter Number 2: 3 (n2)

    response.redirect("www.blabla.com/add.exe n1 n2")

    add.exe will then be run on server and add n1 & n2, will evaluate result that is 8 and will send this to cgi(?)
    Kiziltan Yuceil
    Freelance Web/VB/VBA Programmer
    "It's not what you know it's to whom you consult and with whom you collaborate"

  2. #2
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    Your best bet is to create the exe as a dll. You can easily instantiate an object of the dll and pass the parameters to it.

    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

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