This commit is contained in:
@@ -437,8 +437,10 @@ namespace fmtxml
|
||||
private string fmtName;
|
||||
private VE_Font DefBaseFont;
|
||||
private VE_Font DefPlantFont;
|
||||
public FmtToXml(string nm)
|
||||
private string MyPath;
|
||||
public FmtToXml(string nm, string path)
|
||||
{
|
||||
MyPath = path;
|
||||
fmtName = nm;
|
||||
try
|
||||
{
|
||||
@@ -542,7 +544,7 @@ namespace fmtxml
|
||||
string str = null;
|
||||
|
||||
// read in title.
|
||||
string fnm = "E:\\ve-proms\\format\\"+fname;
|
||||
string fnm = MyPath + @"\" + fname;
|
||||
Console.WriteLine(fname);
|
||||
brFmt = new BinaryReader(File.Open(fnm,System.IO.FileMode.Open,System.IO.FileAccess.ReadWrite,FileShare.ReadWrite));
|
||||
short len = brFmt.ReadInt16();
|
||||
@@ -659,7 +661,7 @@ namespace fmtxml
|
||||
string str = null;
|
||||
|
||||
// read in title.
|
||||
string fnm = "E:\\ve-proms\\format\\"+fname;
|
||||
string fnm = MyPath + @"\" + fname;
|
||||
Console.WriteLine(fname);
|
||||
brFmt = new BinaryReader(File.Open(fnm,System.IO.FileMode.Open,System.IO.FileAccess.ReadWrite,FileShare.ReadWrite));
|
||||
short len = brFmt.ReadInt16();
|
||||
|
Reference in New Issue
Block a user