Showing archive results for 2005

Jan 12, 2005
Post comments count0
Post likes count0

How Can I Access a Type Library From Within a Script?

ScriptingGuy1

Hey, Scripting Guy! How can I access a type library from within a script?-- XA Hey, XA. For those of you unfamiliar with the term, a type library is a file or a component that contains type information for a COM object; type information describes the object and the things you can do with it. Among the information found in a type library are the ...

Scripting Guy!scripting techniquesVBScript
Jan 11, 2005
Post comments count0
Post likes count0

How Can I Put the User Name into the Footer of a Microsoft Word Document?

ScriptingGuy1

Hey, Scripting Guy! How can I put the user name into the footer of a Microsoft Word document?-- RR Hey, RR. That’s an interesting question, and probably the first how-do-I-put-the-user-name-in-the-footer-of-a-Word-document question we’ve ever received. (No, really!) But what the heck; let’s see if we can find an answer for you. Besides, this giv...

Scripting Guy!VBScriptOffice
Jan 10, 2005
Post comments count0
Post likes count0

How Can I Determine Which Version of Word is Installed on a Computer?

ScriptingGuy1

Hey, Scripting Guy! How can I determine which version of Word is installed on a computer?-- RR Hey, RR. Turns out that this is a trickier question than you might expect. That’s because WMI does only a so-so job of retrieving information about the software installed on a computer. In theory, you can use a script like this one to get back version ...

Scripting Guy!VBScriptversion information
Jan 7, 2005
Post comments count0
Post likes count0

How Can I Share a Folder on a Remote Computer?

ScriptingGuy1

Hey, Scripting Guy! How can I share a folder on a remote computer?-- RS Hey, RS. One of the great things about WMI is the fact that - with one or two fairly obscure exceptions - anything you can do on the local computer you can also do on a remote computer. This is the big advantage scripting has over command line tools; a number of command line...

Scripting Guy!VBScriptstorage
Jan 6, 2005
Post comments count0
Post likes count0

How Can I Tell On What Date an Active Directory User Account Was Created?

ScriptingGuy1

Hey, Scripting Guy! Is there any way to tell the date that an Active Directory user account was created?-- DD Hey, DD. And thanks: between the work that piled up over the holidays, the upcoming Scripting Week 2, and a nasty flu bug that’s going around, it’s nice to have a question that can be answered with just two lines of code. That’s right: t...

Scripting Guy!VBScriptActive Directory