Showing archive results for 2005

Jun 17, 2005
Post comments count0
Post likes count0

How Can I Show Users a Dialog Box That Only Lets Them Select Folders?

ScriptingGuy1

Hey, Scripting Guy! In previous columns you’ve shown us how to present users with a dialog box that enables them to select files. Is there any way to show them a dialog box that only lets users select folders?-- LP Hey, LP. You know, you’ve come to the right place: the Scripting Guys have just what the doctor ordered. Actually, we have the Brows...

Scripting Guy!scripting techniquesVBScript
Jun 16, 2005
Post comments count0
Post likes count0

How Can I Delete Data from a Spreadsheet Yet Keep All the Formatting?

ScriptingGuy1

Hey, Scripting Guy! How can I delete data from a spreadsheet yet keep all the formatting?-- TB Hey, TB. From your email it sounds like you have a script that periodically replaces data in a spreadsheet with new, up-to-date values. The spreadsheet has been preformatted, and what you’d like to do is delete all the old values - thus making room for...

Scripting Guy!VBScriptOffice
Jun 15, 2005
Post comments count0
Post likes count0

How Can I Determine Which Domain Controller Authenticated a User?

ScriptingGuy1

Hey, Scripting Guy! In my logon script how can I determine the name of the domain controller that authenticated the user?-- CK Hey, CK. You know, one of the unwritten rules for being a Scripting Guy is that you should never do anything hard more than once a week. (Why is this an unwritten rule? Mainly because we were all too lazy to write it dow...

Scripting Guy!VBScriptActive Directory
Jun 14, 2005
Post comments count0
Post likes count0

How Can I Associate a Network Connection with an IP Address?

ScriptingGuy1

Hey, Scripting Guy! How can I determine the local area connection that’s associated with a particular IP address?-- SH Hey, SH. Believe it or not, this is a fairly complicated procedure, and for two reasons. To begin with, we have to use two separate WMI classes - Win32_NetworkAdapter and Win32_NetworkAdapterConfiguration - in order to retrieve ...

Scripting Guy!VBScriptnetworking
Jun 13, 2005
Post comments count0
Post likes count0

How Can I Change the Size of the Temporary Internet Files Folder?

ScriptingGuy1

Hey, Scripting Guy! How can I change the amount of disk space set aside for Internet Explorer’s temporary files folder?-- AD Hey, AD. The first draft of this column we were able to bang out in no time; after all, it consisted entirely of this: Beats us. But after discussing how valuable an answer like that would be to our customers, and after re...

Scripting Guy!VBScriptusing the Internet