Repace doesn't work under Windows 98



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


.



Relevant Pages

  • Fortran misinformation
    ... operating systems on which Fortran programs run. ... As I plan to buy a new PC and shift from Windows 98 to Windows XP, ... support for DOS applications fades with each new Windows ...
    (comp.lang.fortran)
  • VB/.net & operating systems
    ... The operating systems offered by the vendors are Windows CE, Windows CE.net and Windows XP Tablet. ... We would like to use VB.net for programming our applications, but don't know whether VB.net applications will run on all of these operating systems. ...
    (microsoft.public.windowsce.embedded.vb)
  • Re: some applications not any longer for Windows 2000
    ... More than likely they just don't bother testing with older operating systems ... Microsoft MVP [Windows] ... "Michael Weinert" wrote: ... | Some applications are available only ...
    (microsoft.public.win2000.general)
  • Re: VB/.net & operating systems
    ... > I am currently sourcing hardware for vertical applications. ... > The operating systems offered by the vendors are Windows CE, ... know whether VB.net applications will run on all of these operating systems. ...
    (microsoft.public.windowsce.embedded.vb)
  • Eeye Still has critical vulnerability asscociated with NT
    ... includes current Windows 2000 and XP products as well as older NT products. ... later versions of 9x operating systems according to Brian Livingston's ... I may end up having to purchase Microsoft Virtual ... Machine to be able to run older operating systems in order to support my ...
    (microsoft.public.windowsxp.general)