Showing archive results for 2005

Aug 15, 2005
Post comments count0
Post likes count0

How Can I Dynamically Populate a List Box in an HTA?

ScriptingGuy1

Hey, Scripting Guy! In my HTA, I would like to query a computer for a list of local user accounts, then dynamically create a list box containing those accounts. How can I do that?-- BN Hey, BN. You know, if you’d ever seen the Scripting Guys in … action … you’d think twice about asking us a question about doing things dynamically. But as long as...

Scripting Guy!scripting techniquesWeb pages and HTAs
Aug 12, 2005
Post comments count0
Post likes count0

How Can I Change the Icon for an Existing Shortcut?

ScriptingGuy1

Hey, Scripting Guy! How can I change the icon for an existing shortcut?-- DF Hey, DF. You know, the Scripting Guys (some of them, at least) are old enough to remember a time when you would never even think about changing an icon; after all, back in those days having any icon at all was considered cool. (And if you had flying toasters on top of t...

Scripting Guy!VBScriptdesktop management
Aug 11, 2005
Post comments count0
Post likes count0

How Can I Determine the Beginning and Ending Date of the Previous Month?

ScriptingGuy1

Hey, Scripting Guy! Given a specific date, how can I determine the beginning and ending date of the previous month? In other words, given 8/11/2005, I need to get back 7/1/2005 and 7/31/2005.-- PH Hey, PH. You know, this was a tough question for us: after all, as Microsoft employees we’re always looking forward; we never look back. Last month? W...

Scripting Guy!scripting techniquesVBScript
Aug 10, 2005
Post comments count0
Post likes count0

How Can I Tell if the Screen Saver is Active?

ScriptingGuy1

Hey, Scripting Guy! How can I tell if the screen saver is active and, if so, how long it has been running?-- MS Hey, MS. Interesting question; we don’t think we’ve ever been asked that before. And at first it had us stumped; after all, there aren’t any WMI classes or COM objects for managing the screen saver, and we didn’t know of any event that...

Scripting Guy!VBScriptdesktop management
Aug 9, 2005
Post comments count0
Post likes count0

How Can I Modify a Disk Quota Entry Under Windows 2000?

ScriptingGuy1

Hey, Scripting Guy! How can I modify a disk quota entry under Windows 2000?-- CL Hey, CL. We have some good news and some bad news for you. The bad news is that we’re doing one of those good news-bad news things that nobody ever likes. The good news is that you actually can modify a disk quota entry on a Windows 2000 computer. You can’t do this ...

Scripting Guy!VBScriptstorage