Visual Studio 2002 vs. 2003.

General Macro Scheduler discussion

Moderators: JRL, Dorian (MJT support)

Post Reply
User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Visual Studio 2002 vs. 2003.

Post by Bob Hansen » Tue Aug 05, 2003 12:42 am

My two favorite utilities are Macro Scheduler and TextPad (http://www.textpad.com). TextPad recently issued an upgrade that had a few days of a file reading problem before it could be resolved. For anyone's information, the problem was not in TextPad, but in changes from VS2002 to VS2003. I don't use either product, but thought I would pass on this excerpt from the technical solution that was provided when the solution was found:
=====================
We haven't changed any code that affects the behavior of file opening between versions 4.62 and 4.70. The only variable is a change from Visual Studio 2002 to 2003, but whatever has changed only seems to affect a very small percentage of users. Following on from the discussion on the google thread, perhaps some CD-ROMs and read-only file systems do not have valid time stamps for the last accessed or last modified times. On that assumption, we've found a possible scenario that can cause the problem.

TextPad makes a seemingly innocuous call to Microsoft's code to get a filename. Some bright spark at MS thought code reuse was a "good idea", so implemented it by calling some other code which also gets the file size and its creation, accessed and last modified times. This worked fine, if inefficently, for the past 10 years, until another bright spark from MS decided to do some error checking. Now, if a time stamp is invalid, an error is thrown, with the unhelpful message "The parameter is invalid". The release notes for VS 2003 omitted to mention that change, and it did not have any effect on our systems, so TextPad 4.70 was released without taking account of it.

We've modified TextPad to avoid using Microsoft's new code, and made it available from testing from here:
=============================
I also mention it because of the recent release of Macro Scheduler 7.2.037. I don't know if VS200x is being used to create Macro Scheduler, but if it is, I thought this could be useful information to be aware of.

Hope this is helpful...............

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Tue Aug 05, 2003 8:31 am

Visual Studio is not used in the development of Macro Scheduler.
MJT Net Support
[email protected]

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts