Wrox Programmer Forums
|
ASP Forms As of Oct 5, 2005, this forum is now locked. Please use "Classic ASP beginner" at http://p2p.wrox.com/forum.asp?FORUM_ID=54 or "Classic ASP Professional" http://p2p.wrox.com/forum.asp?FORUM_ID=56 instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Forms 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:08 AM
Authorized User
 
Join Date: Nov 2004
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default Two action in a form

Hi

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">
</FORM>

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">
</FORM>

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


 
Old November 17th, 2004, 01:12 AM
Friend of Wrox
 
Join Date: May 2004
Posts: 642
Thanks: 0
Thanked 43 Times in 42 Posts
Default

after executing the exe you can write javascript to reload the window or redirect to same page using server script.

Om Prakash





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
Two action in a form johnjohn Classic ASP Components 1 November 16th, 2004 05:45 PM
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.