Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Replicate keypress in code asp.net

Reply
Thread Tools

Replicate keypress in code asp.net

 
 
csgraham74
Guest
Posts: n/a
 
      06-22-2005
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

 
Reply With Quote
 
 
 
 
Patrice
Guest
Posts: n/a
 
      06-22-2005
Have you tried something like window.close() ?

Patrice

--

"csgraham74" <(E-Mail Removed)> a écrit dans le message de
news:(E-Mail Removed) ups.com...
> 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
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
any advice on how to replicate content across server farm Jason Shohet ASP .Net 0 02-17-2004 03:43 PM
RE: Need to replicate Classic ASP in ASP.NET using Datagrid Mike Moore [MSFT] ASP .Net 0 01-09-2004 12:47 AM
Re: Need to replicate Classic ASP functionality in ASP.NET using Datagrid Marina ASP .Net 2 01-07-2004 09:56 PM
Repost: Replicate HTML InputFile control with Server controls Paul Hobbs ASP .Net 0 08-04-2003 02:56 PM
Replicate HTMLInputFile functionality Paul Hobbs ASP .Net 0 08-03-2003 07:08 AM



Advertisments