Showing 11 - 20 of 60 results for “hta”

Clear filters

Scripting Blog [archived]

How Can I Alternate Row Colors in an HTA?

Hey, Scripting Guy! How can I alternate row colors (using the green/white style) in an HTA?-- MK Hey, MK. You know, we almost didn’t answer you question. Not because it wasn’t a good question, but simply because – like all the questions we get – we received this one in email. Based on what happened recently at Radio Shack, the ...

How Can I Specify a Window Size for My HTA?

Hey, Scripting Guy! How can I specify a particular window size for my HTA?-- RN Hey, RN. We can’t speak for Dear Abby, Ann Landers or any other daily columnist, but the Scripting Guys are always on the lookout for a question that can be answered using a single line of code. That’s the Holy Grail for daily columnists: one and done. And, ...

How Can I Export an HTA Table to Excel?

Hey, Scripting Guy! How can I put a button in an HTA that, when clicked, exports an HTML table to Excel?-- DW Hey, DW. You know, yesterday afternoon the Scripting Guy who writes this column went to get his hair cut, figuring he needs to look his best for TechEd 2007. (It was only after he got his hair cut that he realized what a futile ...

How Can I Dynamically Add Controls to an HTA?

Hey, Scripting Guy! How can I dynamically add controls to an HTA?-- TR Hey, TR. Dum-de-dum-dum. Dum-de-dum-de - oh, wait : you were talking to us, weren’t you? Sorry; we saw the word “dynamically” and figured this question must have been addressed to someone else. When people hear the words Scripting Guys they think of all sorts of ...

How Can I Prevent Users From Typing Anything But Numbers Into an HTA Text Box?

Hey, Scripting Guy! We have an HTA we use for data input. In one of the text boxes our users are only supposed to type numbers. How can I prevent users from typing anything except numbers in that text box?-- KV Hey, KV. You know that’s a pretty good question: is there a way to prevent users from typing anything except numbers into a text ...

How Can I Create an HTA that Doesn’t Have a Close Button in the Title Bar?

Hey, Scripting Guy! How can I create an HTA that doesn’t have a Close button in the title bar?-- AK Hey, AK. You know, you’ve presented us with a great moral and ethical quandary. After all, suppose we answer this question: suddenly the world might be inundated with HTAs that couldn’t be closed. We have this vision of unclosable, ...

How Can I Highlight a Keyword in an HTA?

Hey, Scripting Guy! I’d like to create an HTA that, upon loading, can open a text file and then display the contents. However, I’d like a particular keyword in those contents to be highlighted. How can I do that?-- GD Hey, GD. You know, a lot of people at Microsoft pooh-pooh the work that the Scripting Guys do. “Take that Hey, ...