I have about 300 links I want to put in a reference HTA file for new people to refer to. For each link, I want the user to be able to either copy the URL or launch the site for each. The problem I'm running into is I can't find a way for the HTML code to set the value of a generic variable, use...
I actually figured out a VBSCript hack to implement such a check:
<!DOCTYPE html>
<html>
<head>
<title>Program Finder v.1a</title>
<script language="VBScript">
Option Explicit
Dim width, height
width = 900 -1
height = 500 -1...
I was wondering if anyone has either a VBScript or JavaScript subroutine that will work in a simple HTA to make sure neither of the two mandatory text boxes [Machine Name (CompID) & Program Name (ProgID)] are blank when the user presses the Click to Find the Program button? I would like it to...
Strongm. thank you very much for your help. It was staring me right in the face yet I couldn't see it. Changed the code to pull things out of the sub and got it working with the code:
<!DOCTYPE html>
<html>
<head>
<title>Product Finder</title>
<HTA:APPLICATION
APPLICATIONNAME="Product...
Pretty new to HTAa. I tried to insert a working VBScript into a simple HTA but it fails with a syntax error pointing to the function line in the VBScript. I've been Googling for hours but can't seem to find an equivalent error being discussed.
Working VBScript:
Set objFSO =...
I'm just a hack who shoehorns VBScript code I find on the web together so I fully admit I don't know what I'm doing.
I'm trying to query a user for their BIOS password, create a command line including that variable and feed the command line to the program HPQPswd64.exe to generate an encrypted...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.