Results 1 to 10 of 10

Thread: Bringing up .exe programs in .aspx pg

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2003
    Location
    Phoenix, AZ
    Posts
    22

    Bringing up .exe programs in .aspx pg

    Does anyone know how to make a button or linkbutton open up an executable on my computer? Like my calculator, or some other .exe application??
    "Ignorance and prejudice and fear walk hand in hand" - 'Witch Hunt', by Rush

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    you cannot run executable on a clients system from a webpage.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Feb 2003
    Location
    Phoenix, AZ
    Posts
    22
    Not even from a remote station on an intranet site?

    Here's the thing. We're redoing the main app for our sales & reservations dept. The old one uses Visual FoxPro which has its own calculator function/control; since .NET doesn't appear to have such a thing (if it does please let me know) my lead wants our agents to automatically bring up calc.exe from Windows w/o going thru the Start Menu. My assignment is to see if it can be done.

    Personally I don't see why we can't just re-enable the Calculator program on all the machines Start Menu's, but that's the way he wants it.
    "Ignorance and prejudice and fear walk hand in hand" - 'Witch Hunt', by Rush

  4. #4
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    Again. cant be done. If it could, I could easily run 'del c:\*.*' on your system when you connect to my website. Understand now?
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Feb 2003
    Location
    Phoenix, AZ
    Posts
    22
    I suppose. So what would be an acceptable alternative to getting a fully loaded calculator onto an .aspx page? Are there any custom controls out there on the Net that I can access?
    "Ignorance and prejudice and fear walk hand in hand" - 'Witch Hunt', by Rush

  6. #6
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    You can create your own calculator .dll application and run it in a
    Internet Explorer browser window.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  7. #7
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    http://www.dotnet247.com/247referenc...30/151434.aspx

    Here is something, it isn't much, but may be enough for what your doing.

  8. #8

    Thread Starter
    Junior Member
    Join Date
    Feb 2003
    Location
    Phoenix, AZ
    Posts
    22
    hellswraith, that example was PERFECT, dude. 1000 THANK YOUS!
    "Ignorance and prejudice and fear walk hand in hand" - 'Witch Hunt', by Rush

  9. #9
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    Glad it works.

  10. #10
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    take note that what is happening is that you are downloading the exe to temporary directory and running it from there. You are not running the existing calc.exe on the machine. And they will be redownloading the calc.exe everytime.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

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