Subject: Two action in a form
Posted By: johnjohn Post Date: 11/16/2004 9:07:12 AM
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


Reply By: mat41 Reply Date: 11/16/2004 4:45:09 PM
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

Go to topic 22058

Return to index page 714
Return to index page 713
Return to index page 712
Return to index page 711
Return to index page 710
Return to index page 709
Return to index page 708
Return to index page 707
Return to index page 706
Return to index page 705