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:
Rich
2012-01-13 18:38:41 +00:00
parent a72f752b60
commit b480a879c5
14 changed files with 37654 additions and 728 deletions

View File

@@ -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
}
}