About one time out of three when I run an application of mine (WbWrd compiles Word documents and uploads the HTML to my web site) a line of Word2003 VBA code returns the document Fullname in UPPER-CASE.
Code: Select all
Dim strTrueTargetFullName As String
strTrueTargetFullName = uw.strUNCGetDrive(doc.FullName)
I have searched the web for things like Word2003, Document, Fullname, Upper and so on.
A quick search of Eileen's Lounge starting with Fullname, then narrowing down by Document and Case reveals nothing.
The application has been running happily since 1997, but with modifications from day one and a couple of re-writes.
I have searched my own code for "UCASE" and similar functions, and cannot find a spot where I do anything of the sort. (Which doesn't mean I don't do it, just that I cannot find it)
Two times out of three everything works fine; one time out of three I get upper-case and so I end up creating a directory tree (on my web site) as "TRIPPING" instead of "Tripping", in consequence, images that were previously uploaded to "Tripping" are not found in the documents in "TRIPPING" that try to reference them.
AFAIK no-one else uses this program other than me; so this is not world-altering.
In the first place I am just curious if anyone has ever experienced anything like this.
(continues rambling ...)
It rattles me that right now it seems to occur at random times. I am in these past weeks in a phase of compiling many web pages about Tripping, and some days are fine, other days are Upper-case.
Is this God's way of telling me to upgrade to Win10/Office 2015?
P.S. I will happily make the code available to anyone more masochistic than I