Wrox Programmer Forums
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components 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
Old November 16th, 2004, 10:07 AM
Authorized User
Join Date: Nov 2004
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default Two action in a form


I want to create a button that will do two different action.
In fact I want it to start a .exe and after that refresh the windows.

Now I already register my application to a URL protocol so I'm able to launch my application (a little .exe that I'd create )with the "note:" action like this:

<FORM ACTION="note:" METHOD="post">
            <INPUT TYPE="submit" VALUE="Submit">

This work well, but I aslo want to refresh the windows after the operation is finish because my .exe change the data. The only way I know for that is a form like this:

<FORM ACTION=""theSamePage.asp"METHOD="post">
            <INPUT TYPE="submit" VALUE="Submit">

So is it possible to automatically refresh my page after my .exe is done???

Thank you


Old November 16th, 2004, 05:45 PM
Friend of Wrox
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41

I would action the form to another page (weather it has a gui or not doesnt matter) execute the .exe there and then:

<script Language = JavaScript>

Wind is your friend

Similar Threads
Thread Thread Starter Forum Replies Last Post
form action attribute austinf HTML Code Clinic 2 August 2nd, 2006 08:30 AM
FORM action opens in new window nancy HTML Code Clinic 2 April 7th, 2006 08:16 AM
Form Action Problem.. NitinJoshi General .NET 2 January 6th, 2005 06:02 AM
multiple form action jack1234 JSP Basics 1 June 8th, 2003 01:42 PM

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