-
WSVBNerd
AskWoody LoungerI did a little more research. Image Ready is now part of PhotoShop. I also read a review of several Web graphic software packages. PhotoShop, Fireworks, and PhotoImpact scored the bast. Paint Shop Pro was lacking. Although I may evaluate it myself.
I think I had read that PhotoDraw was not going to be part of the next Office suite. I didn’t hear that it was going to be discontinued. Is this part of the shot in the arm MS gave Corel?
Thanks for the tips.
Mike
-
WSVBNerd
AskWoody Lounger*** Geoff W URL reference corrected ***
There’s an excellent article about constructing your boolean logic at http://www.devx.com/upload/free/features/v…0200/cs0200.asp
Also, I find myself doing a lot of testing for the negative, then exiting the sub or function if it passes.
If sometest() = False _ Then Exit Function End If
I find this easier than putting huge blocks of code within an if-then statement.
My $.02.
Mike
-
WSVBNerd
AskWoody LoungerI believe you can improve the readability of long routines by using the Exit statement. It can save having to wrap the entire routine with an If-Then statement.
I guess we can agree to disagree on the use of the Exit statement.
The only time you should use a GOTO statement is in an error handler. i.e. On Error Goto Super_Duper_Error. Not every error can be handled using in-line error handling.
Mike
-
WSVBNerd
AskWoody LoungerWon’t the DateAdd function do this correctly?
Mike
-
WSVBNerd
AskWoody LoungerThanks for the clarification.
-
WSVBNerd
AskWoody LoungerThere’s also VBScript in a Nutshell by Paul Lomax published by O’Reilly.
I’m recently reading a book published by Wrox about the WSH that goes into great detail about the capabilities of the WSH.
I’ve been able to do some neat things using WSH & VBScript.
Mike
-
WSVBNerd
AskWoody LoungerIt really depends. Is browser compatability an issue?(It doesn’t sound like it.) Have you programmed in the VBA language before? Have you programmed in C before?
If your doing client-side scripting AND your only browser is IE AND you have a VBA language background, then IMHO VBScript will be the way to go. VBScript is essentially a subset of the VBA language, so it’s easy to get up and running if you already know the VBA language.
If you have a C programming background, Javascript will probably be easier to learn as it very C like but simpler and it works in both NS and IE for client-side scripting.
I believe there’s plenty of resources on both.
Mike
-
WSVBNerd
AskWoody LoungerI’m not sure of the name, but it’s at the following link
http://msdn.microsoft.com/library/devprods…conventions.htmIt uses the 3 character prefix for variables and controls.(strFirstName, intAge, …)
The other variable naming convention I’ve seen uses a single character prefix.(sFirstName, iAge, …) I’m not sure, but I think this one is called Hungarian.
I’d be interested in seeing the one you use.
I guess the real point is to make sure your team sticks to one convention. It’s not good to have that rouge programmer using his own style while his/her peers stick to something else.
Mike
-
WSVBNerd
AskWoody LoungerI’d be willing to bet that in future versions of the VBA language, things like the DIR$ function will be dropped for the more OO FileSystemObject. Just looking at the code, I’d say that the FileExists method is clearer than Dir.
There’s lots of redundant functions/statements in the VBA language that could use some cleaning up. There must be three or four ways to convert something to a string. Strangely enough, I’ve heard that VB.NET still carries many of these redundancies. Oh, for those of you who think that they don’t need to pay attention to VB.NET, think again. Office.NET will use the same language as VB.NET. Office XP won’t, but Office.NET(the version after XP) will.
BTW, the FileSystemObject also has a DateLastModified property which appears to do the same as the FileDateTime function.
Well, I’ve babbled on enough.
Mike “Someday I’ll create a sig and a neat pic.”
-
WSVBNerd
AskWoody LoungerIn addition to the original suggestions, I’d also suggest the following…
Try to program using dispatch mode. One sub or function does the dispatching. It calls nearly all the other subs or functions. Try to avoid one routine that calls another routine and that routine calls another routine and so on and so on.
When commenting your code, put less on what your code is doing and more on WHY you’re doing it.
Stick to a variable naming convention.
If I think of any more, I’ll post ’em.
Mike
-
WSVBNerd
AskWoody LoungerTo find out if a file exists, use the FileSystemObject’s FileExists method. You’ll need to set a reference to the Microsoft Scripting Runtime.(Tools References…)
Dim oFSO as FileSystemObject
Set oFSO = New FileSystemObjectIf oFSO.FileExists(Fullpath & filename) = True _
Then
‘ File Exists!
Else
‘ File doesn’t exist.
End IfSet oFSO = Nothing
I can highly recommend VB & VBA In A Nutshell by Paul Lomax published by O’Reilly. It’s an excellent reference to the VBA language.
Mike
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Updates seem to have broken Microsoft Edge
by
rebop2020
2 hours, 7 minutes ago -
Wait command?
by
CWBillow
1 hour, 16 minutes ago -
Malwarebytes 5 Free version manual platform updates
by
Bob99
5 hours, 2 minutes ago -
inetpub : Microsoft’s patch for CVE-2025–21204 introduces vulnerability
by
Alex5723
11 hours, 38 minutes ago -
Windows 10 finally gets fix
by
Susan Bradley
20 hours, 31 minutes ago -
AMD Ryzen™ Chipset Driver Release Notes 7.04.09.545
by
Alex5723
21 hours, 51 minutes ago -
Win 7 MS Essentials suddenly not showing number of items scanned.
by
Oldtimer
16 hours, 24 minutes ago -
France : A law requiring messaging apps to implement a backdoor ..
by
Alex5723
1 day, 10 hours ago -
Dev runs Windows 11 ARM on an iPad Air M2
by
Alex5723
1 day, 11 hours ago -
MS-DEFCON 3: Cleanup time
by
Susan Bradley
6 hours, 44 minutes ago -
KB5056686 (.NET v8.0.15) Delivered Twice in April 2025
by
lmacri
3 hours, 25 minutes ago -
How to enable Extended Security Maintenance on Ubuntu 20.04 LTS before it dies
by
Alex5723
1 day, 22 hours ago -
Windows 11 Insider Preview build 26200.5562 released to DEV
by
joep517
2 days, 2 hours ago -
Windows 11 Insider Preview build 26120.3872 (24H2) released to BETA
by
joep517
2 days, 2 hours ago -
Unable to eject external hard drives
by
Robertos42
13 hours, 28 minutes ago -
Saying goodbye to not-so-great technology
by
Susan Bradley
1 hour, 9 minutes ago -
Tech I don’t miss, and some I do
by
Will Fastie
7 hours, 2 minutes ago -
Synology limits hard drives
by
Susan Bradley
3 days, 7 hours ago -
Links from Microsoft 365 and from WhatsApp not working
by
rog7
2 days, 9 hours ago -
WhatsApp Security Advisories CVE-2025-30401
by
Alex5723
3 days, 13 hours ago -
Upgrade Sequence
by
doneager
3 days, 6 hours ago -
Chrome extensions with 6 million installs have hidden tracking code
by
Nibbled To Death By Ducks
1 day, 12 hours ago -
Uninstall “New Outlook” before installing 2024 Home & Business?
by
Tex265
2 days, 5 hours ago -
The incredible shrinking desktop icons
by
Thumper
4 days, 10 hours ago -
Windows 11 Insider Preview Build 22635.5240 (23H2) released to BETA
by
joep517
4 days, 11 hours ago -
Connecting hard drive on USB 3.2 freezes File Explorer & Disk Management
by
WSJMGatehouse
1 day, 10 hours ago -
Shellbag Analyser & Cleaner Update
by
Microfix
1 day, 4 hours ago -
CISA warns of increased breach risks following Oracle Cloud leak
by
Nibbled To Death By Ducks
4 days, 21 hours ago -
Outlook 2024 two sent from email addresses
by
Kathy Stevens
6 hours, 51 minutes ago -
Speeding up 11’s search
by
Susan Bradley
2 days, 9 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.