Article ID: 168265 - View products that this article applies to.
This article was previously published under Q168265
When you try to access a sample, you get an error message containing "Microsoft JScript runtime error". This occurs after you have already made one copy of some other sample.
When the Developer Studio is installed to a directory with a path name containing high-ASCII characters, such as those that are used in many non-English character sets, it has problems copying samples.
To actually fix the bug, get the Service Pack.
To work around the problem: after copying a sample, exit Developer Studio and restart it.
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug has been corrected in Visual Studio 97, German and Japanese localized versions, and in Visual Studio 97 Service Pack 1.
For additional information about the Visual Studio 97 Service Pack 1, please see the following article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/170365/EN-US/ )INFO: Visual Studio 97 Service Packs - What, Where, and Why
Steps to Reproduce Behavior
NOTE: If this was the first sample copied since installing Visual C++ (or one of the other products using Developer Studio), the default directory name to copy to will contain incorrect character translations for the high- ASCII characters in the path. This is another symptom of the same bug.
For additional information, please see the following article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/168264/EN-US/ )FIX: Copying Samples to a Dir with High ASCII Stops File I/O
Article ID: 168265 - Last Review: October 16, 2002 - Revision: 1.0