Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old May 20th, 2009, 07:38 PM
Friend of Wrox
Points: 6,664, Level: 34
Points: 6,664, Level: 34 Points: 6,664, Level: 34 Points: 6,664, Level: 34
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2004
Location: Sydney, NSW, Australia.
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default Running the windows calculator using ASP

Good day

Can classic ASP code be written to run the windows calculator?

TYIA
__________________
Wind is your friend
Matt
  #2 (permalink)  
Old May 21st, 2009, 03:34 AM
Friend of Wrox
 
Join Date: Jun 2008
Location: Snohomish, WA, USA
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
Default

Theoretically, or in practice??

Yes, theoretically.

In practice, very few (if any) webmasters would allow it.

Remember, for ASP to run *anything*, the "anything" has to run *ON THE WEBSERVER MACHINE*. And so your ASP page opens up the calculator. And so a window opens up on the screen *OF THAT WEBSERVER* machine. Thus annoying the **** out of the system admin of that system.

Plus, it would be an incredible pain to actually interface with the beast. There's no programmatic interface to it, so you'd have to write a custom interface to simulate keystrokes being sent to it. Plus plus plus...

I would guess that figuring out how to do all this would take you about 10 times as long as it would to write ASP code to perform any of the operations that calcultor is capable of. (Excepting only that it *is* capable of very high precision calculations...many more digits of accuracy than the DOUBLE data type of VBScript.)

In short: No.
  #3 (permalink)  
Old May 21st, 2009, 08:37 PM
Friend of Wrox
Points: 6,664, Level: 34
Points: 6,664, Level: 34 Points: 6,664, Level: 34 Points: 6,664, Level: 34
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2004
Location: Sydney, NSW, Australia.
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

Old Pendant - As always thank you for your time. This requirement/issue has now changed, I beleive it should now be a new post. For other looking at this. I spend half a day tring to see if this could be done on the client. I could find no evidence of anybody doing it.

The new question is how to run an application on the server fired by the client:
Running application on the server fired by client
__________________
Wind is your friend
Matt


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dreamweaver - TheSoccerSite - Calculator.asp zhengfengyang Dreamweaver (all versions) 5 March 21st, 2006 03:25 AM
get all running processes in all windows OS atingoldy VB How-To 0 June 23rd, 2003 02:28 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.