E
Eric
I have an application which today loads some XML files onto the hard
drive. We have been acked to change the application to instead keep
the data files on the
CD. I have fixed the install, but now am trying to fix the C# code to
look at the CD instead of the folder on the Hard drive.
Here is the code that exists now.
public String GetApplicationFolder()
{
String sPath = Application.ExecutablePath;
return(sPath.Substring(0,sPath.LastIndexOf("\\")) + "\\");
}
I need it to look at the CD instead of the ExecutablePath. Any help
would be greatly appreciated.
Thanks,
Eric Swaney
drive. We have been acked to change the application to instead keep
the data files on the
CD. I have fixed the install, but now am trying to fix the C# code to
look at the CD instead of the folder on the Hard drive.
Here is the code that exists now.
public String GetApplicationFolder()
{
String sPath = Application.ExecutablePath;
return(sPath.Substring(0,sPath.LastIndexOf("\\")) + "\\");
}
I need it to look at the CD instead of the ExecutablePath. Any help
would be greatly appreciated.
Thanks,
Eric Swaney