Posts Tagged ‘VBScript’

Praise Be for Regular Expressions

I used a regular expression in VB for the first time ever (I think) today!
The reason is that I cached some generated ASP and realised that when I needed to use it on different pages, the id lookup for certain elements would change. So, no problem (except for the fact that I’m coding in ASP):
Dim [...]

Read the rest of this entry »

Office 2007 Deployment Computer Startup Scripts

Now that MS Office 2007 is doing the rounds, I suppose it’s time to lookat some of its shortcomings.
It has a few when it comes to deployment. The biggest nuisance being deployment.
You have four options:

Install it on a PC manually (not great)
Deploy through group policy with no customisations
Use a deployment system such as SMS
Use a [...]

Read the rest of this entry »

Set Focus on Web Pages

I found a neat post for setting auto focus without interfering with a user’s input if the page hasn’t yet loaded over at Wait till I come.
It’s quite handy as it discusses the usability of such a feature.

Read the rest of this entry »

Excel to PDF

Following my Word to PDF convertor script, here is the Excel version.
Prerequisites
MS Excel 2007
Office 2007 Save As PDF Plugin
Same rules apply. Copy and paste the code into notepad and save onto the desktop as ExceltoPdf.vbs.
‘Excel to PDF
‘By John Reid
‘(c) 2007 bloggingIT – http://ccgi.maxpower.plus.com/wp

‘Feel free to use, modify, and redistribute – just leave the credits intact

‘Quick [...]

Read the rest of this entry »

Drag and Drop Convert Word to PDF

Sometimes I find that it’s useful to save my Word documents as PDFs.
After playing around with the Save As PDF plugin for Office, I decided that it would be cool if I could write a script to convert a job lot of Word documents.
Prerequisites
MS Word 2007
Save As PDF Office 2007 Plugin
Just copy and paste the [...]

Read the rest of this entry »

The Joys of HTA

I’ve been developing a number of HTA tools lately.
Certainly a pretty nifty way to create script-based applications without the need for whole development suites. In fact, seeing as Notepad++ is my tool of choice – it’s a no-brainer.
A lot of custom scripts should never need to be written once I’ve finished a suite of Active [...]

Read the rest of this entry »