Sql Script to Build Empty VE-PROMS Database
Use new settings (ConvertTo and ExecutableMode) New Settings Use new setting (PDF Folder) Use and Control new settings
This commit is contained in:
@@ -56,7 +56,8 @@ namespace DataLoader
|
||||
//string tmpName = @"C:\Temp\DataLoader\" + myFile.Name.Replace(".", "_") + ".RTF";
|
||||
string tmpName = Path.GetTempFileName();
|
||||
string temppath = Path.GetTempFileName();
|
||||
if (frmMain.cbSaveDocChecked)
|
||||
if (frmMain.MySettings.ExecutionMode == ExecutionMode.Production ||
|
||||
frmMain.MySettings.ConvertTo == AccPageConversion.MSWord)
|
||||
{
|
||||
FileInfo tmpFile = new FileInfo(tmpName);
|
||||
if (tmpFile.Exists)
|
||||
@@ -176,7 +177,7 @@ namespace DataLoader
|
||||
}
|
||||
else
|
||||
{
|
||||
if (frmMain.cbSaveRTFChecked)
|
||||
if (frmMain.MySettings.ConvertTo == AccPageConversion.RichTextFormat)
|
||||
docid = SaveDoc(fname, title, ci,""); // Need to get Ascii Text from RTF
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user