Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Problem with DELETE KEY in HTA using WinPE

Featured Replies

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

  • Author

forgot to mention that the DEL key does work fine in other applications on WinPe (command line, notepad,.....)

What kind of environment are you testing it in (VM or physical machine)? Any reason you're not using PE 2.0? I tried it out on a physical machine using PE 2.0 and had no problems.

  • Author

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

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.