Replicate keypress in code asp.net

C

csgraham74

Hi guys,

i have created a asp.net application and use an HTA to view the
aplication. The only way that i know to exit the HTA screen is to press
ALT & F4. What i want to do is to write a piece of code that replicates
this key press.

E.g.

on an exit button this code is called and it exits the HTA.

does anyone know how to replicate this in code ????

thanks in advance

C
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top