Jump to content

Problem with DELETE KEY in HTA using WinPE


Spanik

Recommended Posts

Good Morning all,

Have a weird problem and not able to find the source of it or a fix, googled quite a bit and looked over this forum too.....

I have got a simple HTA with a textarea :

<html><head><title>HTA TEST</title><HTA:APPLICATIONID="HTA TES"APPLICATIONNAME="HTA TES"SCROLL="yes"SINGLEINSTANCE="yes"WINDOWSTATE="maximize"></head><script Language="VBScript"></SCRIPT><body><textarea name="BasicTextArea" rows="5" cols="75"></textarea></body></html>

Now let say I want to edit some of the text inside the TextArea, for example I type : "I am gooing shopping" , let say I want to remove one of the 'o' in going :

a) I place my cursor (using the mouse or directions keys) just after the first o and hit the DELETE key
cool.gif I place my cursor (using the mouse or directions keys) just after the second o and hit the BACKSPACE key

Now this works on Internet Explorer 6 & 7 on a Windows XP machine BUT option a) does not work on WinPe (XP SP2 version) , the delete key just does nothing ; same issue with the Insert Key. The backsapece key does its job all ok.

So I modified my HTA do intercept on keyPress , KeyDown,.... and the keycode 46 is indeed seen by the HTA but it is not interpreted; anyone has seen that before ?? is there a workaround ?

Cheers
bob Edited by Spanik
Link to comment
Share on other sites


hi zorphnog,

I am using physical computers, not VMs ; the reason we are not using PE 2.0 is because we have a little over 13 thousand computers already in place ; all of which have a 300Mb hidden WinPe partition (this is the way we do the initial installation and later on re-installations of PCs (PXE boot that un-hide the WinPe partition and activates it)) that in turn downloads a ghost image (syspreped) of our master image ; we want to keep using the same (old) version of WinPe for the meantime, just to have the same across the whole company.

thanks for the info about the del key working in WinPE 2.0, we are planning an upgrade of all WinPe partitions in the future

if anyone has a fix for our version of WinPE :)

cheers

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...