Showing tag results for Scripting Guy!

Nov 17, 2005
Post comments count0
Post likes count0

How Can I Import a Fixed-Width File into Microsoft Excel?

ScriptingGuy1

Hey, Scripting Guy! How can I import a fixed-width file into Microsoft Excel?-- JP Hey, JP. We have a confession to make here, something we’re terribly ashamed of: for a moment - just for a moment, mind you - we doubted Microsoft Excel. Yes, we know: how could we do such a thing? All we can say is that we made a mistake, and we’re sorry. For som...

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

How Can I Determine the Height and Width of a Picture File Without Using Windows Media Player?

ScriptingGuy1

Hey, Scripting Guy! Awhile back you showed us a method to determine the height and width of a picture file. However, that solution required us to import all our picture files into Windows Media Player. Isn’t there another way to get this information, one that doesn’t require Windows Media Player?-- RP Hey, RP. You see, that’s what happens any ti...

Scripting Guy!VBScriptmultimedia
Nov 15, 2005
Post comments count0
Post likes count0

How Can I Use ADO to Read a Text File Where All the Data is on a Single Line?

ScriptingGuy1

Hey, Scripting Guy! I have a fixed-width text file which includes first name (6 characters), last name (13 characters), and department (9 characters) all on a single line. How do I read that using ADO?-- DW Hey, DW. Well, to be perfectly honest, we don’t think you can read a file like this using ADO (ActiveX Data Objects). ADO is a fantastic way...

Scripting Guy!scripting techniquesVBScript
Nov 14, 2005
Post comments count0
Post likes count0

How Can I Tell if ActiveX is Enabled in Internet Explorer?

ScriptingGuy1

Hey, Scripting Guy! How can I tell if ActiveX is enabled in Internet Explorer?-- JV Hey, JV. You just had to ask this question, didn’t you? Actually, this isn’t a particularly hard question to answer, it’s just a little complicated. But that has to do more with the way Internet Explorer is configured than it does with writing a script to retriev...

Scripting Guy!VBScriptusing the Internet
Nov 11, 2005
Post comments count0
Post likes count0

How Can I Get the Command Window to Stay Open After Running a Command-Line Tool?

ScriptingGuy1

Hey, Scripting Guy! How can I get the command window to stay open after running a tool like Ping or Ipconfig?-- DB Hey, DB. Now this question takes us back. Back when one of the Scripting Guys first started here at Microsoft many people thought WMI and ADSI were way too hard for script writers to use. As a result, this Scripting Guy was discoura...

Scripting Guy!scripting techniquesVBScript