Repace doesn't work under Windows 98
- From: "Gregory Khrapunovich" <greg@xxxxxxxxx>
- Date: Tue, 28 Feb 2006 18:23:00 -0500
I am using Visual Studio 2003 (Framework 1.1) with Windows Forms/C#. At
some point my application executes a simple statement:
string filename = Application.ExecutablePath.Replace(".exe", ".xml");
When I tested the applications under three different operating systems, it
turned out that the above line works fine under Windows XP and 2000, but it
doesn't work under Windows 98. When I run it under Win98, Replace command
returns the application file name unchanged (...exe). I verified it with the
MessageBox.
I have installed the same framework 1.1 to all three operating systems (XP,
2000, 98).
Can somebody explain what's happening?
Gregory Khrapunovich
.
- Follow-Ups:
- Re: Repace doesn't work under Windows 98
- From: Łukasz
- Re: Repace doesn't work under Windows 98
- Prev by Date: Re: Unmanaged C++ Shell Extension Handler as client to C# COM Object
- Next by Date: Re: Mixed Assembly Interop
- Previous by thread: Re: Unmanaged C++ Shell Extension Handler as client to C# COM Object
- Next by thread: Re: Repace doesn't work under Windows 98
- Index(es):
Relevant Pages
|