-
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. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
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
-
Microsoft: Troubleshoot problems updating Windows
by
Alex5723
2 hours, 56 minutes ago -
Woman Files for Divorce After ChatGPT “Reads” Husband’s Coffee Cup
by
Alex5723
26 minutes ago -
Moving fwd, Win 11 Pro,, which is best? Lenovo refurb
by
Deo
3 hours, 28 minutes ago -
DBOS Advanced Network Analysis
by
Kathy Stevens
19 hours, 51 minutes ago -
Microsoft Edge Launching Automatically?
by
healeyinpa
10 hours, 16 minutes ago -
Google Chrome to block admin-level browser launches for better security
by
Alex5723
22 hours, 31 minutes ago -
iPhone SE2 Stolen Device Protection
by
Rick Corbett
14 hours, 47 minutes ago -
Some advice for managing my wireless internet gateway
by
LHiggins
10 hours, 28 minutes ago -
NO POWER IN KEYBOARD OR MOUSE
by
HE48AEEXX77WEN4Edbtm
16 hours, 44 minutes ago -
A CVE-MITRE-CISA-CNA Extravaganza
by
Nibbled To Death By Ducks
1 day, 8 hours ago -
Sometimes I wonder about these bots
by
Susan Bradley
1 day, 4 hours ago -
Does windows update component store “self heal”?
by
Mike Cross
18 hours, 21 minutes ago -
Windows 11 Insider Preview build 27858 released to Canary
by
joep517
1 day, 21 hours ago -
Pwn2Own Berlin 2025: Day One Results
by
Alex5723
5 hours, 55 minutes ago -
Windows 10 might repeatedly display the BitLocker recovery screen at startup
by
Susan Bradley
9 hours, 36 minutes ago -
Windows 11 Insider Preview Build 22631.5409 (23H2) released to Release Preview
by
joep517
2 days ago -
Windows 10 Build 19045.5912 (22H2) to Release Preview Channel
by
joep517
2 days ago -
Kevin Beaumont on Microsoft Recall
by
Susan Bradley
1 day, 13 hours ago -
The Surface Laptop Studio 2 is no longer being manufactured
by
Alex5723
2 days, 8 hours ago -
0Patch, where to begin
by
cassel23
2 days, 2 hours ago -
CFPB Quietly Kills Rule to Shield Americans From Data Brokers
by
Alex5723
2 days, 22 hours ago -
89 million Steam account details just got leaked,
by
Alex5723
2 days, 10 hours ago -
KB5058405: Linux – Windows dual boot SBAT bug, resolved with May 2025 update
by
Alex5723
3 days, 7 hours ago -
A Validation (were one needed) of Prudent Patching
by
Nibbled To Death By Ducks
2 days, 21 hours ago -
Master Patch Listing for May 13, 2025
by
Susan Bradley
9 minutes ago -
Installer program can’t read my registry
by
Peobody
5 minutes ago -
How to keep Outlook (new) in off position for Windows 11
by
EspressoWillie
2 days, 19 hours ago -
Intel : CVE-2024-45332, CVE-2024-43420, CVE-2025-20623
by
Alex5723
3 days, 3 hours ago -
False error message from eMClient
by
WSSebastian42
3 days, 18 hours ago -
Awoke to a rebooted Mac (crashed?)
by
rebop2020
4 days, 3 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.