win98 and WinME problems

  • Thread starter Thread starter herewegoagain
  • Start date Start date
H

herewegoagain

Guest
I am trying to find a duplicate to use in a try ..... catch situation for
System.Environment.UserDomainName
System.Environment.UserName

System.Environment.OSVersion.Platform

System.Environment.CurrentDirectory

Works fine in XP, NT, and 2000. Not in 98 or Me. Does anyone have any suggestions of what to use instead in 98 and ME?
 
All of those except UserDomainName should work fine in Windows 98 and ME. Are you sure something else isnt throwing an exception?
 
I will eliminate domain name from the equation and see if that will make a difference. The app after it was distributed just bombed saying that it was not able to work on 98 or ME. It didnt give me specifics except to say that these wouldnt work. I imagine it might well be the case though.
 
The documentation always says (for each class) what Operating Systems it will work under, maybe thatll help.
 
Back
Top