Skip to main content
Filter by
Sorted by
Tagged with
2 votes
2 answers
171 views

I know that it is possible to get innerText values with JavaScript in an HTA file, like in the example below: <html> <head> <style> .testCss::after { content: ...
bd55's user avatar
  • 111
0 votes
0 answers
40 views

Our business uses Macro Express Pro to create macros to assist with daily tasks. Rather than prompting the user once for their user multiple times for pieces of data, I'm creating an HTA and using VBS ...
Lou's user avatar
  • 403
1 vote
1 answer
157 views

I want to read an excel sheet and display the contents with vbscript. I also want the user to be able to pick the source directory, hence the addition of hta furteron. The ACE OLEDB providor has to be ...
Judith's user avatar
  • 95
1 vote
1 answer
178 views

I am trying to have a script open Active Directory, but for some reason, the script refuses to locate the file. I have tried countless other exe/msc files in place of it that have worked without issue,...
zwirth's user avatar
  • 11
0 votes
1 answer
190 views

I am a hobby programmer, and have made an HTA file, with some JavaScript and a single contentEditable <DIV>. Using minimal JavaScript I can make keyboard shortcuts to format, save, and exit. I ...
Gavin's user avatar
  • 499
0 votes
1 answer
284 views

I am stuck on an issue trying to get away from the cmd popup and have all the data from the command to appear in span tag. I know just enought to get the command to work but not sure how to make it ...
user3707925's user avatar
0 votes
0 answers
64 views

I wanted to code a little HTA file which looks in a specific folder if there are any jpg files and, if yes, it displays them. For that I used VBScript. Everything works fine so far. In a second step I ...
Sebastian M.'s user avatar
0 votes
1 answer
74 views

Maybe anyone here can help me to modify this script ? I want file name located under the gif & the text size is little bit smaller, so that more gif can appears in one row . <script type="...
deiraf's user avatar
  • 1
3 votes
2 answers
132 views

I am working on a Batch/HTA hybrid file and want to add some background music to the application. When I try to add a url (containing a percent sign) to a<bgsound> tag, it doesnt play anything. ...
bocodes's user avatar
  • 447
0 votes
0 answers
50 views

I am trying to learn a bit more of HTA and VBScript and I want to know if VBS allows to create dynamically functions as in JavaScript as: var f = new Function('functionName', functionbody); or window[...
willy wonka's user avatar
  • 1,814
0 votes
1 answer
128 views

I am trying to create a modal dialog in my app where a video shows up but it doesn't. But when I open the window without using the modal dialog function in the main hta (vbs) it works perfectly. Video ...
Arnaud Girard's user avatar
0 votes
0 answers
44 views

Basically, what I am trying to do is to create a system where I can store keycode in a .dat file named Bindings and use them to define the key associated with an action. For example the key escape is ...
Arnaud Girard's user avatar
-1 votes
1 answer
1k views

I have an HTA application that has worked for years with no issue, and I am now having issues since being forced to update to Office 365. Here is the connection string: objConnection.Open "...
John117's user avatar
0 votes
1 answer
264 views

I'm trying to use the following script on various machines, so i need to put in a relative path, if the file is in the same diretory works fine, but if i create a folder in this diretory the code dont ...
Hebert Mateus's user avatar
0 votes
1 answer
301 views

enter image description here I use css in my hta with ie=10. Note: It should be noted that I am using this code as an HTA program, not on a web page <script language = "vbscript" type = &...
ali ala's user avatar
1 vote
1 answer
336 views

Is it possible to run part of hta file with administrator's privilege? I will like to make it in a way that when i click on ADD TIME button it should prompt me to provide administrators details. I ...
Steve's user avatar
  • 23
0 votes
1 answer
65 views

I am trying to build a tool to dynamically build and edit a JSON file. I created a HTA that will dynamically create elements for each data type and build it out in the UI using li and ul. The basic ...
tokageKitayama's user avatar
0 votes
1 answer
271 views

I'm creating an HTA from which to run some external VBS files. I need to pass from the HTA to the VBS files, the data of some forms (Radio Button). What should I add to the HTA file to accomplish it? ...
MicBi's user avatar
  • 13
1 vote
0 answers
64 views

I am making a hta app for a home project and I would like to use javascript classes. Is this possible? If a use the basic example I find on google it gives a syntax error in hta. works as a html ...
tokageKitayama's user avatar
-1 votes
1 answer
228 views

So I basically want to make a button that changes an image's, let's say, x position to a VBScript variable in HTML. This is an HTA btw, dunno if it actually changes anything. <script language = &...
Octogoon's user avatar
1 vote
1 answer
334 views

When screen scaling is changed to 125%, 150% or a custom value, the following HTA scales accordingly, except for checkboxes and radio buttons. How can I make those elements also scale proportionally ...
LesFerch's user avatar
  • 1,997
3 votes
2 answers
460 views

NOTE: This question is not a duplicate of Can I embed an icon to a .hta file? - For more details, compare the issues and read the comments I am trying to build an HTA that will automatically perform ...
Pete Danes's user avatar
3 votes
1 answer
434 views

Have cmd script help file in HTA format, it open every time user press key 'h/H' through script. Want to HTA jump to its specific part by context from where help is called (as usual in windows help ...
user2956477's user avatar
  • 1,358
0 votes
1 answer
2k views

I get this error: I can not find what is actually the problem from my limited knowledge everything looks correct Here is the code I am using: <html> <head> <title>Application ...
Kenny OBrien's user avatar
1 vote
1 answer
377 views

I'm learning JavaScript using some examples I've found online. And in working on an HTA I've come a cropper trying to work out why the "oninput" event won't trigger. I've included the ...
Albert F D's user avatar
2 votes
1 answer
992 views

UPDATE: I figured out the answer to my first question. I used two methods, actually. For the "strBoxTitle" variable, I replaced the line: <b>strBoxTitle</b><p> with this ...
Leslie's user avatar
  • 610
3 votes
1 answer
3k views

I have a HTA application. Within the HTA, I'm calling a function to open up a webpage using: window.open( sURL, "Working" ); This opens a page in Internet Explorer and not Edge. Is there a ...
Demetrius's user avatar
-1 votes
1 answer
154 views

I really need some help IN All the examples I found the fade out effect was relying on the "audio id" element : <audio id="myAudio"> <source src="./LZ.mp3" ...
frankell's user avatar
  • 131
0 votes
1 answer
112 views

I have found many pieces of code to this effect but all are using WMP7.ocx. I have an installer that takes 10 to 15 minutes to complete and I would like to have something non-intensive to add a bit of ...
user avatar
0 votes
1 answer
853 views

I have developed several HTA files where each file calls the other. There is one HTA file that i need (if called) to stay as the "Always on top" window while it is open. I have tried "...
user1111726's user avatar
0 votes
1 answer
2k views

I have an .hta file but everytime I run it open in a small screen. Can I run it in fullscreen like any other nav?
Rafael Albuquerque's user avatar
-3 votes
1 answer
169 views

I have tried many ways to make the button avoid the mouse. I have tried all the onmouse functions, yet they don't seem to work, btw I am trying to make the button get the size of the computers screen, ...
Haxor Hacking's user avatar
1 vote
1 answer
591 views

I have the following HTA file: <html> <head> <title>test</title> <SCRIPT Language="VBScript"> createobject("Shell.Application").ShellExecute "...
Cameron White's user avatar
2 votes
1 answer
545 views

I have an HTA file with a VBScript embedded in it. From the VBScript, I need to call a command prompt command (powercfg /energy) that requires elevated permissions. The command will be called more ...
Cameron White's user avatar
0 votes
1 answer
157 views

I am currently working on a function to get some values from my access database into some columns (called "slots" in my code). problem exists in the function fillSlot(), the SQL queries are ...
Soyaro's user avatar
  • 33
0 votes
0 answers
190 views

Im having an issue i cant figure out. I have a simple hta that queries an xml and displays a message box containing a specific value. From what I can tell the code should work the same but its not. ...
jmrstrs1's user avatar
0 votes
1 answer
150 views

I am having a problem running mshta.exe. As you can see in the picture below, I get the error: The system cannot execute the specified program. I've created a test.hta file and it can't be executed as ...
Nidal Fikri's user avatar
0 votes
1 answer
567 views

in my JScript HTA script I have a button that executes a CMD command when I press it: <button onclick="callShellApplication('ipconfig')">Your IP-Adress</button> But this is only ...
user avatar
-2 votes
1 answer
2k views

I have an hta script (batch file), which shows me several buttons and when I click these I want a command to be executed in my cmd. For example, when I press the "IP address" button, the ...
user avatar
0 votes
2 answers
260 views

I'm currently trying to use a db (.accdb-file) in my vbscript. my function from a .vbs-file that's executed by a hta-file: function dbCall(sAction, sPayload, sTable, sConCol, sConVal) ...
Soyaro's user avatar
  • 33
1 vote
1 answer
992 views

I'm currently trying to figure out how to update a div-element in a hta-file. the hta calls a vbs-file where the actual script is running. My intention for the moment was to write the time from when ...
Soyaro's user avatar
  • 33
-1 votes
1 answer
3k views

When I was looking into the .hta filetype online, it appears to be referenced as a program, however I know that mshta.exe is the program used for them. Does that mean .hta is actually just a file ...
Anthony LoPrimo's user avatar
-2 votes
1 answer
875 views

I am facing an issue with hta file. In some machine it requires 3 to 5 clicks to get it loaded. Its not due to the slowness or computation in background. As soon as I double click the hta file It will ...
Ahamed Fazeel's user avatar
2 votes
2 answers
699 views

I successfully create a simple web-based chat app by simply following this tutorial The only difference is I did not include the login thing. It only keeps making post messages in log.html. Now I'm ...
user avatar
0 votes
2 answers
1k views

I want to create/open a window with transparent background. I want to know for: Using semi-transparent images Rounded corners I want to see the desktop behind the app Fading the app in and out Is ...
user11714941's user avatar
0 votes
1 answer
4k views

I have been developing an app using HTML, CSS, and JS, using the App Mode command line argument for Google Chrome. It works nice, but I would like some ability to use the local file system without ...
Anthony LoPrimo's user avatar
1 vote
1 answer
404 views

EDITED My company used VBScript and IE to create popups for gathering and displaying information. Now that IE is going away, we can't do this in Edge. We're looking for a way to use HTA embedded in ...
Lou's user avatar
  • 403
0 votes
0 answers
91 views

This code throws an error that BigInt is unrecognized: <html><head> <HTA:APPLICATION ID="HelloExample" BORDER="bold" BORDERSTYLE="complex"/> &...
Russell Hankins's user avatar
4 votes
1 answer
1k views

I have an HTA with loads of options. I have been able to change the color theme of the app with some Theme buttons using a combo of CSS and VBScript. However, I have been doing each element manually....
Rikus Khan's user avatar
0 votes
0 answers
61 views

I have designed an HTA file that shows a window and displays some text and uses VBScript to query the AD directory to get the full display name of the logged in user. Here is the VBscript i am using ...
user1111726's user avatar

1
2 3 4 5
20