-
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
-
Practice what you preach! A cautionary tale.
by
RetiredGeek
3 hours, 20 minutes ago -
Looking for Microsoft Defender Manuals/Tutorial
by
blueboy714
16 hours, 16 minutes ago -
Win 11 24H2 Home or Pro?
by
CWBillow
2 hours, 37 minutes ago -
Bipartisan Effort to Sunset the ‘26 Words That Created the Internet’..
by
Alex5723
1 day ago -
Outlook new and edge do not load
by
cHJARLES a pECKHAM
1 day, 12 hours ago -
Problem using exfat drives for backup
by
Danmc
1 day, 12 hours ago -
I hate that AI is on every computer we have!
by
1bumthumb
14 hours, 57 minutes ago -
Change Info in the Settings window
by
CWBillow
1 day, 19 hours ago -
Attestation readiness verifier for TPM reliability
by
Alex5723
2 days, 2 hours ago -
Windows Update says that “some settings are managed b your organization”
by
Ed Willers
1 day, 11 hours ago -
Use of Gmail rejected.
by
CBFPD-Chief115
1 day, 12 hours ago -
WuMgr operational questions
by
Tex265
14 hours, 15 minutes ago -
Beijing’s unprecedented half-marathon: Humans vs. humanoids!
by
Alex5723
2 days, 17 hours ago -
New Phishing Campaign Targeted at Mac Users
by
Alex5723
1 day, 17 hours ago -
Backing up Google Calendar
by
CWBillow
2 days, 23 hours ago -
Windows 11 Insider Preview build 27818 released to Canary
by
joep517
3 days, 12 hours ago -
File Naming Conventions (including Folders)
by
Magic66
2 days, 11 hours ago -
Windows 11 Insider Preview Build 26100.3613 (24H2) released to Release Preview
by
joep517
3 days, 19 hours ago -
Microsoft sends emails to Windows 10 users about EOS
by
Alex5723
3 days, 6 hours ago -
Outlook 2024 importing Calendar and Contacts – FAILURE
by
Kathy Stevens
2 days, 12 hours ago -
Adding Microsoft Account.
by
DaveBRenn
3 days, 21 hours ago -
Windows 11 Insider Preview build 26120.3576 released to DEV and BETA
by
joep517
4 days, 20 hours ago -
Windows 11 Insider Preview Build 22635.5090 (23H2) released to BETA
by
joep517
4 days, 21 hours ago -
Windows 11 won’t boot
by
goducks25
2 days, 13 hours ago -
Choosing virtual machine product for Windows on Mac
by
peterb
4 days, 10 hours ago -
Rest in Peace
by
Roy Lasris
5 days, 15 hours ago -
CISA : Install Windows March 2025 Updates until April 1 or shut down PC.
by
Alex5723
2 days, 13 hours ago -
Google proposes users with incompatible Win 11 PCs to migrate to ChromeOS Flex
by
Alex5723
5 days, 16 hours ago -
Drivers for Epson Perfection V600 Photo – scanner
by
Bookman
2 days, 7 hours ago -
Long Time Member
by
jackpet
5 days, 18 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.