Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 16th, 2004, 10:07 AM
Authorized User
 
Join Date: Nov 2004
Location: , , .
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???


Thank you

Johnjohn


  #2 (permalink)  
Old November 16th, 2004, 05:45 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

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>
   opener.history.go(0);
   self.close();
<script>


Wind is your friend
Matt
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 01:42 PM.


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